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

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

Open
rista404 opened this issue Sep 9, 2015 · 5 comments
Open

Comments

@rista404
Copy link

rista404 commented Sep 9, 2015

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
Copy link

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
Copy link

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

@jdmaresco
Copy link

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
Copy link

nirmalr commented Oct 10, 2015

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
Copy link

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

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

4 participants