meteorhacks / npm

Complete NPM integration for Meteor
http://meteorhacks.com/complete-npm-integration-for-meteor.html
MIT License
509 stars 43 forks source link

ERROR - packages.json parsing error, after removing npm-container #97

Open rista404 opened 9 years ago

rista404 commented 9 years ago

I recently installed this package but decided to remove it, and now every time I run meteor, this happens:

ERROR: packages.json parsing error [ ENOENT, no such file or directory '/Volumes/Extra/Sites/test/packages.json' ]

I can't seem to get rid of it, despite meteorhacks:npm and npm-container both being removed. What is causing this error?

jdmaresco commented 9 years ago

I have this same issue. Very weird. Did you resolve this @rista404 ? I even completely removed the .meteor folder and reinitialized the entire app. Restarted terminal; getting the same message

jdmaresco commented 9 years ago

I also completely removed meteor from my system and reinstalled it. I am getting the same issue. Very frustrating and confusing

jdmaresco commented 9 years ago

Bleh... doing meteor remove meteorhacks:npm does not remove the packages folder in your app, specifically the npm-container package. Which you need to remove if you want to get rid of the error message. @rista404

nirmalr commented 9 years ago

According to README for this project, you are expected to do the following:

rm -rf packages/npm-container meteor remove npm-container meteor update meteorhacks:npm meteor

Not sure if this solves the issue for you

dragGH102 commented 8 years ago

Apparently installing meteorhacks:npm creates a packages.json in the project root folder when adding it. I copied it (not moved) it to packages/packages.json (where also npm-container folder is created) and the error didn't show again