dpirek / nodejs-mvc-cms

simple blogging MVC CMS written in nodejs and mongoDb
128 stars 37 forks source link

npm install error #2

Open glebus opened 11 years ago

glebus commented 11 years ago

Hello!

I have some troubles after run

npm install

Here is npm-debug.log

0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ] 2 info using npm@1.2.2 3 info using node@v0.8.18 4 verbose read json /home/glebus/nodejs-mvc-cms/package.json 5 error install Couldn't read dependencies 6 error Failed to parse json 6 error Unexpected string 7 error File: /home/glebus/nodejs-mvc-cms/package.json 8 error Failed to parse package.json data. 8 error package.json must be actual JSON, not just JavaScript. 8 error 8 error This is not a bug in npm. 8 error Tell the package author to fix their package.json file. JSON.parse 9 error System Linux 2.6.32-5-686-bigmem 10 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" 11 error cwd /home/glebus/nodejs-mvc-cms 12 error node -v v0.8.18 13 error npm -v 1.2.2 14 error file /home/glebus/nodejs-mvc-cms/package.json 15 error code EJSONPARSE 16 verbose exit [ 1, true ]

Seems like package.json has not valid JSON.

Thank for your help.

cevatkerim commented 11 years ago

Fixed with: https://github.com/cevatkerim/nodejs-mvc-cms/commit/aa0e61ffb9c93b2517f1078234b07f5edf478e41