Heroku - No account specified Problem

 來自 http://xxhobojojoxx.tumblr.com

I kept encountering the following error everytime I tried logging into Heroku:

: No account specified. (Heroku::Command::CommandFailed)  

Run this command with –account <account name>  

You can also add it as a git config attribute with:   git config heroku.account work

It looks like the biggest issue here is a conflict between the Heroku gem and the Heroku toolbelt.  All regular Heroku commands no longer work in bash$

Check to see how many versions of Heroku you are running:

heroku version

The solution to this is to remove this folder and all ssh keys associated with your computer with the following command: 

rm -rf ~/.heroku/plugins/heroku-accounts



發佈了6 篇原創文章 · 獲贊 3 · 訪問量 11萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章