如何将Angular Fullstack应用程序上传到已有的Heroku应用程序?

时间:2016-03-05 22:46:48

标签: git heroku angular-fullstack

当我这样做时:

grunt buildcontrol:heroku 

我收到以下错误:

Warning: remote: !  No such app as <wrongapp>
fatal: repository 'https://git.heroku.com/<wrongapp>/' not found
 Use --force to continue.

当我尝试:

remote -v 

我明白了:

heroku  git@heroku.com:<rightapp> (fetch)
heroku  git@heroku.com:<rightapp> (push)
origin  https://github.com/anApp.git (fetch)
origin  https://github.com/anApp.git (push)

在给定git remote -v。

的情况下,所有内容都按顺序查看

然后我尝试:

git push -f heroku

我收到以下错误:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

现在我不确定自从我做完以后会怎么样:

heroku login

此外,我不确定该消息是否相关,因为我应该可以使用grunt buildcontrol:heroku。

0 个答案:

没有答案