Closed benbowler closed 10 years ago
Please copy and paste the contents of your package.json file (and not grunt-harp
's) to jsonlint.com, and tell me what you get as output.
Hey @benbowler, I believe this means there is a syntax error with your package.json
, I am able to install grunt-harp okay. If you want to post it here, I’d be happy to help you figure it out, otherwise throwing it into a JSON validator would probably help too!
Edit That was weird timing!
Yeah just realised the issue is the local package.json. Thanks.
Installing this package npm gives the following error:
$ npm install grunt-harp --save-dev npm ERR! Failed to parse json npm ERR! Unexpected end of input npm ERR! File: /Users/benbowler/Server/chew-guide/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! System Darwin 12.5.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "grunt-harp" "--save-dev" npm ERR! cwd /Users/benbowler/Server/chew-guide npm ERR! node -v v0.10.21 npm ERR! npm -v 1.3.11 npm ERR! file /Users/benbowler/Server/chew-guide/package.json npm ERR! code EJSONPARSE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/benbowler/Server/chew-guide/npm-debug.log npm ERR! not ok code 0