You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
installed the latest nodejs and npm on Linux RH and Windows 2008. Then followed to the instructions how to installed the modules for Annotator but there is the error message for both installations - (on W & L). Are there any suggestions?
npm ERR! Failed to parse json
npm ERR! Unexpected token ':' at 1:7
npm ERR! "name": "html5App",
npm ERR! ^
npm ERR! File: C:\AppServers\nodejs\annotator_nodejs_store\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! C:\AppServers\nodejs\annotator_nodejs_store\npm-debug.log
The problam was that the package.json had an error in the JSON format, because I was modifiing manualy the dependences.
Now the package.json is correct.
Thank you
Activity
albertjuhe commentedon Jul 3, 2015
The problam was that the package.json had an error in the JSON format, because I was modifiing manualy the dependences.
Now the package.json is correct.
Thank you
albertjuhe commentedon Jul 3, 2015
After do that I installed all the project from scratch and works.