Meteor : Run command on Heroku app

痴心易碎 提交于 2020-01-07 04:23:07

问题


I do have Meteor installed on my Heroku app. Due to some vulnerabilities concern Heroku is asking me to update Node.js version which is possible by updating the Meteor version as directed here

But how would I run the update on my heroku. Currently I'm using command:

heroku run meteor update --release 1.5.1 -a myappname

回答1:


I think you need to go to your Meteor project (repo) with your code editor, do the update, make sure everything runs ok on "local". A good opportunity to run "npm outdated" too and see if there is anything to do in that area, then push to production.

I am pretty sure you should not update Meteor via Heroku CLI or command line.




回答2:


The solution to update Meteor and Node version for Heroku aplication is given below:

Update Node version for Meteor app deployed to Heroku



来源:https://stackoverflow.com/questions/45094423/meteor-run-command-on-heroku-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!