[英]Pushing app to heroku problem
我正在嘗試將我的應用程序推送到heroku,我收到以下消息:
$ heroku create
Creating electric-meadow-15..... done
Created http://electric-meadow-15.heroku.com/ | git@heroku.com:electric-meadow-1
5.git
$ git push heroku master
! No such app as fierce-fog-63
fatal: The remote end hung up unexpectedly
我現在得到這個很奇怪,我已經將應用程序多次推送到heroku而沒有問題。 特別奇怪的是, fierce-fog-63
是我很久以前制作和刪除的舊應用程序。 為什么現在Heroku正試圖推動這個不再存在的應用程序,特別是當我創建一個新應用程序時? 有什么建議?
輸入這個,我想你會看到問題所在:
git remote -v
修復如下:
git remote rm heroku
git remote add heroku git@heroku.com:electric-meadow-15.git
我收到你發布的第二個錯誤“未能將某些引用推到'git@heroku.com:floating-stone-94.git'”(使用不同的應用程序名稱),我通過執行以下操作擺脫了它:
git remote rm heroku
heroku create
你應該看到一行“Git remote heroku added”。 也
git remote -v
現在應該有正確的應用程序。
對於所有不起作用的人,請檢查〜/ .heroku /憑證
如果電子郵件或令牌與帳戶不匹配,您將看不到自己的應用。
如果你到這里並認為你有類似的問題,但所有其他建議的東西都不起作用你可能想嘗試:
heroku restart
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.