Update node js packages on geroku

How can I tell Heroku about updating my node modules?

I tried to do

heroku run bash npm update <package> 

and then restarted the heroku application

 heroku restart -a <appname> 

But I do not see the changes, I inserted the same commands locally, and it worked. Ideas?

+6
source share
1 answer

try:

heroku config:set NODEMODULESCACHE=false

git commit -am 'rebuild' --allow-empty

git push heroku master

+2
source

Source: https://habr.com/ru/post/977803/


All Articles