Heroku认为我有多个应用程序远程,当我不 [英] Heroku thinks I have more than one app remote, when I don't
本文介绍了Heroku认为我有多个应用程序远程,当我不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这些是我的遥控器:
Jordans-MacBook-Pro:appname jordan $ git remote -v
heroku https://git.heroku.com/appname.git(fetch)
heroku https://git.heroku.com/appname.git(推送)
origin git@github.com:jfeldstein / appname.git(fetch)
origin git@github.com:jfeldstein / appname.git(推送)
但是,当我使用Heroku toolbelt时,出现错误,我有多个应用程序...
Jordans-MacBook-appname jordan $ heroku run echo'hi'
!多个应用程序在文件夹中,没有指定应用
!使用--app APP指定应用程序。
我不明白。
我正在使用帐户插件,如果这很重要,并且已为此应用设置了默认帐户。但仍然只有一个应用程序在这里。
为什么我必须指定?
这会影响我机器上的多个应用程序。
解决方案
账户插件有这个bug,你可以使用这个版本,但 https://github.com/heroku/heroku-accounts
These are my remotes:
Jordans-MacBook-Pro:appname jordan$ git remote -v
heroku https://git.heroku.com/appname.git (fetch)
heroku https://git.heroku.com/appname.git (push)
origin git@github.com:jfeldstein/appname.git (fetch)
origin git@github.com:jfeldstein/appname.git (push)
But when I use the Heroku toolbelt, I get the error that I have more than one app...
Jordans-MacBook-appname jordan$ heroku run echo 'hi'
! Multiple apps in folder and no app specified.
! Specify app with --app APP.
I don't get it.
I'm using the "accounts" plugin, if that matters, and have set a default account for this app. But still, only one app here.
Why do I have to specify?
This affects multiple apps on my machine.
解决方案
the accounts plugin has this bug in it you can use this version though https://github.com/heroku/heroku-accounts
这篇关于Heroku认为我有多个应用程序远程,当我不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文