Joined May 2015
·

Ian

Boston!
·
·

Posted to Clean Heroku npm cache over 1 year ago

lol. Coderwall does not want text to contain underscores at all!

NODEMODULESCACHE

should be

NODE_MODULES_CACHE

The documentation is here - https://devcenter.heroku.com/articles/nodejs-support#cache-behavior and it works.

heroku config:set NODE_MODULES_CACHE=false
git commit -am 'rebuild' --allow-empty
git push heroku master
heroku config:unset NODE_MODULES_CACHE
Achievements
1 Karma
0 Total ProTip Views