我一直在尝试安装heroku。当我在终端上运行curl https://cli-assets.heroku.com/install.sh | sh时,我得到这样的消息:'Your path is missing /usr/local/bin, you need to add this to use this installer.'.
我已经尝试将其添加到$PATH中,但我不确定是否正确。当我运行echo $PATH时,我得到的是:'/home/rasklow/usr/local/bin:/home/rasklow/.rbenv/shims:/home/rasklow/.
当我在我的Mac OS X终端中运行$"heroku help“时,我从Heroku Cli得到以下错误。 ▸ help is not a heroku command. ▸ Run heroku help for a list of available commands.$ heroku restart ▸ Perhaps
在将nodejs应用程序部署到Heroku时,我遇到了一个问题。我试图直接推git (heroku cli),也尝试使用github部署,但都失败了。这是我拿到的日志:-----> Determining which buildpack to use for this appjq: error (at <stdin>:19): Cannot index string with string "iojs"
!
@heroku/buildpack-registry not accessible from @heroku-cli/plugin-buildpacks 上下文的完整输出: -----> Node.js@heroku/buildpack-registry not accessible from @heroku-cli/plugin-buildpacks npm ERR!
我重新安装了heroku -当我在重新安装heroku run bash --app myapp之后运行第一个命令时,一切正常,但是heroku-cli: Installing CLI... 22.43MB/22.43MB启动了,当我不得不再次运行bash时,我得到了这样的语句:
▸ heroku-cli: This CLI is deprecated.
无论我尝试运行heroku命令,heroku工具带都会尝试自我更新,并且更新总是失败,并显示以下输出:heroku-cli: Installing Toolbelt v4... doneFor more information on Toolbelt v4: https://github.com/heroku/heroku-cliheroku-cli: Installing core