Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npm ERR! Tell the package author to fix their package.json file. JSON.parse" #3

Open
temporalparts opened this issue Sep 12, 2012 · 2 comments

Comments

@temporalparts
Copy link

I get the following error when trying to install via npm:

user@lubuntu$ sudo npm install email-verificationtoken
npm WARN package.json home-server@0.0.1 No README.md file found!
npm http GET https://registry.npmjs.org/email-verificationtoken
npm http 304 https://registry.npmjs.org/email-verificationtoken
npm http GET https://registry.npmjs.org/email-verificationtoken/-/email-verificationtoken-0.0.3.tgz
npm http 200 https://registry.npmjs.org/email-verificationtoken/-/email-verificationtoken-0.0.3.tgz
npm ERR! Failed to parse json
npm ERR! Unexpected token n
npm ERR! File: /home/user/tmp/npm-8543/1347068011962-0.5777149784844369/package/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 Linux 3.2.0-30-generic
npm ERR! command "nodejs" "/usr/bin/npm" "install" "email-verificationtoken"
npm ERR! cwd /home/user/swrmit/Swrmit/server
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! file /home/user/tmp/npm-8543/1347068011962-0.5777149784844369/package/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/swrmit/Swrmit/server/npm-debug.log
npm ERR! not ok code 0

Thanks in advance

@joshontheweb
Copy link

having same issue, although its hard to nail down what exactly the problem with the package.json is...

@alfredwesterveld
Copy link
Owner

I should delete this package because I had hardly developed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants