2012-07-24 37 views
2

我正在爲已經在heroku中設置生產環境的應用程序創建登臺環境。在從生產應用這裏開始 - https://devcenter.heroku.com/articles/multiple-environments,我跑的命令創建臨時環境:驗證帳戶後,Heroku創建名稱已拍攝消息

heroku create staging-app-name --remote staging --addons mongohq:free,shared-database:5mb --account urban 

輸出:

Creating staging-app-name... done, stack is cedar 
Adding mongohq:free to staging-app-name... failed 
! Please verify your account to install this add-on 
! For more information, see http://devcenter.heroku.com/categories/billing 
! Confirm now at https://heroku.com/confirm 

筆者走訪https://heroku.com/confirm並得到了消息,說「您的帳戶已通過驗證」。

回到命令行並重新運行create命令。輸出:

! Name is already taken 

當我去heroku.com,看看我的應用程序,它不在那裏。我該如何回收這個名字?

回答

1

我曾經在某個帳戶下運行過這個命令,並在另一個heroku下查看我的應用程序:/當我登錄到正確的帳戶時,該應用程序在那裏。

2

聯繫支持 - 這可能是您發現的CLI中的一個錯誤。

-2

請更改應用程序的名稱。因爲您鍵入的應用程序名稱的名稱已被其他用戶使用。所以請更改您的應用程序名稱以避免此錯誤

+0

此答案有點簡潔。嘗試添加更多解釋。 – bowlturner 2014-09-26 18:43:05