Heroku在linux虚拟机崩溃后停止工作
问题描述:
您好我的Linux是虚拟机。当我在制作heroku时运行rake db:种子清理并关闭。我再次运行后,当我尝试种子的Heroku我得到:Heroku在linux虚拟机崩溃后停止工作
[email protected]:~/rails_pro/vofr$ heroku run
! Error in heroku-run:
! Cannot read property 'filter' of undefined
! See /home/saasbook/.heroku/error.log for more info.
这是我的错误日志:
2016/02/29 17:23:27 heroku-cli: Installing core plugins...
NULNULNULNULNULNUL.....NUL
29 21:26:16 Error during run:null
2016/02/29 21:26:16 TypeError: Cannot read property 'filter' of undefined
at [eval]:36:28
at Object.exports.runInThisContext (vm.js:54:17)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:413:34)
at node.js:544:27
at _combinedTickCallback (node.js:370:9)
at process._tickCallback (node.js:401:11)
答
在我完全去除的Heroku结束结束。
sudo apt-get --purge remove heroku
sudo apt-get --purge remove heroku-toolbelt
rm -rf /usr/local/heroku
rm -rf ~/.heroku
然后:
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
heroku --version