Joined January 2014
·
Posted to
Clean Heroku npm cache
over 1 year
ago
Thanks for jumping in - I appreciate it. The "*" versions are just awful - I've outlawed them outright.
Ssh-ing and deleting node_modules
is an obvious idea - I wish I had thought of it.
So the recommendations would be:
- For all dependencies, always specify the exact version.
- If you have any
git
dependencies, disable the caching withNODE_MODULES_CACHE=false
Achievements
197 Karma
65,731 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
@iabw - thanks for pointing out the docs. That seems to be a very recent addition - glad to see the problem tackled in a non-hacky way.