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

issue when installing #18

Closed
ilanbiala opened this issue Jan 19, 2014 · 4 comments
Closed

issue when installing #18

ilanbiala opened this issue Jan 19, 2014 · 4 comments

Comments

@ilanbiala
Copy link

npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: /Users/Ilan/.npm/decompress-zip/0.0.4/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

@wibblymat
Copy link
Member

Hmm, installs absolutely fine here, and the package.json is perfectly valid. I wonder if there was an error in downloading?

Try npm cache clean and then install again.

@ilanbiala
Copy link
Author

I tried that, I still had to go to the package and manually replace the package.json for anything to work. Not sure what's wrong exactly...

@sindresorhus
Copy link
Contributor

Latest installs fine for me. Open an issue on npm if you're still having issues.

@ilanbiala
Copy link
Author

Yeah I don't think that I have had this issue recently.

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

No branches or pull requests

3 participants