2010-06-01 69 views
95

我想我的應用程序推送到Heroku的,我得到以下信息:推應用的Heroku問題

$ heroku create 
Creating electric-meadow-15..... done 
Created http://electric-meadow-15.heroku.com/ | [email protected]: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試圖推動這個不存在的應用程序,尤其是當我創建了一個新應用程序時?有什麼建議麼?

+0

談話的Heroku ... – Peter 2010-06-01 04:11:20

回答

220

型這一點,我想你會看到這個問題:

git remote -v 

修復這樣的:

git remote rm heroku 
git remote add heroku [email protected]:electric-meadow-15.git 
+0

奏效...但現在它給我這個消息: $ git push heroku master 計數對象:1652,完成。 增量壓縮使用多達4個線程。 致命的:對象91f5d3ee9e2edcd42e961ed2eb254d5181cbc734不一致的對象lengt H(476 VS 8985) 錯誤:包對象死亡與奇怪的錯誤 錯誤:未能一些裁判推到「[email protected]:浮石94.git」 – goddamnyouryan 2010-06-01 08:56:49

+4

感謝亞當..爲我節省了一些時間+1 – Pravin 2011-04-07 11:46:26

+0

如果任何人的問題是[重命名現有的應用程序](https://devcenter.heroku.com/articles/renaming-apps) – egbutter 2013-03-23 20:10:08

12

我得到您發佈的第二個錯誤「未能推動一些對裁判'[email protected]:floating-stone-94.git'「(使用不同的應用程序名稱),我通過執行以下操作將其刪除:

git remote rm heroku 
heroku create 

你應該看到一行說'Git remote heroku added'。另外

git remote -v 

現在應該有正確的應用程序。

+8

Herokuku不會在heroku上製作一個全新的項目嗎? – thatdankent 2011-12-31 18:58:59

+1

這將創建一個全新的應用程序... – egbutter 2013-03-23 20:08:26

5

對於所有誰這不起作用,請檢查您〜/ .heroku /憑證
如果電子郵件或令牌的帳戶不匹配,你不會看到你的應用程序的人。

+0

保存了一天! – 2012-03-05 12:42:21

+0

很高興聽到它:) – georgekorsnick 2012-07-30 22:17:08

0

如果你來到這裏,並認爲你有類似的問題,但所有的建議其他的東西,你可能想嘗試不工作:

heroku restart