Open1
EScode EJSONPARSE A complete log of this run can be found in
下記のエラーで悩んでいたが、package.jsonの「}」が多かっただけだった...
(base) PS C:\Users\XXXX\Documents\work\express\test> npm run mock:api
npm ERR! code EJSONPARSE
npm ERR! path C:\Users\XXXX\Documents\work\express\test/package.json
npm ERR! JSON.parse Unexpected token "," (0x2C) in JSON at position 518 while parsing near "...i/server.js\"\n }\n },\n \"lint-staged\": {..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.