1

I'm trying to install the heroku cli locally on win 7 -64 bit. I downloaded and ran the installer at https://devcenter.heroku.com/articles/heroku-cli#windows. I can see that the path E:/Heroku1/bin/ has been added to PATH. Using git-bash I try:

$ heroku -v
/e/Heroku1/bin/../client/bin/heroku.cmd: line 1: @echo: command not found
/e/Heroku1/bin/../client/bin/heroku.cmd: line 3: fg: no job control

How can I get this working?

4

2 回答 2

0

你解决了吗?我在 win 7 x86 /e/Heroku1/bin/../client/bin/heroku.cmd 上得到相同的结果:第 1 行:@echo:找不到命令 /e/Heroku1/bin/../client/bin/heroku .cmd:第 3 行:fg:无作业控制

于 2018-01-31T18:13:04.057 回答
0

我认为问题在于我可能一直在使用过时的 git-bash。目前他们推荐使用 Git 2.8。我在路径中添加了以下内容并开始工作:

C:\Git28\bin;C:\Heroku\bin
于 2018-03-08T20:38:03.490 回答