尝试根据此入门指南设置 Heroku,但我遇到了no such file or directory
. 是什么导致了这种情况?我对这个-bash
错误的经验是它可能是错误的空格或字符,或者显然没有文件,但我错过了什么?
这是设置中的控制台错误:
localhost:local cf$ heroku login
Enter your Heroku credentials.
Email: heroku@mydomain.org
Password (typing will be hidden):
Found existing public key: /Users/cf/.ssh/id_rsa.pub
Uploading SSH public key /Users/cf/.ssh/id_rsa.pub... done
Enter your Heroku credentials.
Email: heroku@mydomain.org
Password (typing will be hidden):
Authentication successful.
localhost:local cf$ cd ~/myapp
-bash: cd: /Users/cf/myapp: No such file or directory
帮助指南显示
Could not find an existing public key.
Would you like to generate one? [Yn]
Generating new SSH public key.
Uploading ssh public key /Users/adam/.ssh/id_rsa.pub
而我已经有一个 SSH 密钥:
Found existing public key: /Users/cf/.ssh/id_rsa.pub
Uploading SSH public key /Users/cf/.ssh/id_rsa.pub... done
这是需要调查的事情吗?我也尝试过在终端的不同实例中,但没有奏效。