2017-08-25 87 views
0

得到尝试使用命令混帐推Heroku的主错误,致命库

$ git push heroku master 

这里部署一个Django的web应用程序的Heroku时给出一个错误的错误后,我键入命令:

mysite lateefa$ git push heroku master 
    remote: ! No such app as vast-spire-40247. 
    fatal: repository 'https://git.heroku.com/vast-spire-40247.git/' not found 

有关如何解决此问题的任何建议?

+0

'git remote -v'的输出是什么? – Roshan

+0

'origin \t https://github.com/heyylateef/personal-site.git(fetch)' 'origin \t https://github.com/heyylateef/personal-site.git(push)',这是正确的 – heyylateef

+0

看到我的答案添加远程网址,然后,你应该能够推。 – Roshan

回答

1

添加远程URL。

git remote add heroku [email protected]:vast-spire-40247.git 
+0

我实际上删除了heroku仪表板上名为vast-spire-40247的应用程序,我试图将我的项目部署到我刚刚制作的另一个应用程序,该应用程序具有不同的名称。我做了这个命令,用新的替换旧应用程序的名称,但我得到了以下内容:'lateefa $ git remote add heroku [email protected]:latadetona.git fatal:远程heroku已经存在。“# – heyylateef

+0

@heyylateef可能是因为它确实存在。 latadetona是你的新应用名称吗? – Roshan

+0

您必须删除实际的heroku存储库或使用git remote set-url heroku [email protected]重命名:latadetona.git –

相关问题