Joined January 2014
·

Ivan Erceg

Chile
·
·
·

Posted to Clean Heroku npm cache over 1 year ago

@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.

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:

  1. For all dependencies, always specify the exact version.
  2. If you have any git dependencies, disable the caching with NODE_MODULES_CACHE=false
Achievements
197 Karma
65,174 Total ProTip Views