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

Run npm cache clean before running npm install #1297

Closed
wants to merge 1 commit into from
Closed

Run npm cache clean before running npm install #1297

wants to merge 1 commit into from

Conversation

juandazapata
Copy link

Sometimes, npm will fail to install some packages because its cache
gets in some weird state. Running npm cache clean ensures that the
installation is done with fresh packages instead of the cached ones.

Sometimes, `npm` will fail to install some packages because its cache
gets in some weird state. Running `npm cache clean` ensures that the
installation is done with fresh packages instead of the cached ones.
@josevalim
Copy link
Member

Thank you @juandazapata but I would rather not do this. If installation fail, they still get the error on the next command or when they run the server. I don't think we should try to work around npm bugs. :)

@juandazapata
Copy link
Author

Fair enough! Thanks for replying @josevalim

@juandazapata juandazapata deleted the clean-npm-cache-on-install branch October 17, 2015 03:04
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

Successfully merging this pull request may close these issues.

2 participants