[英]`git push heroku master` returns error
我试图通过推送仅包含php(“ Hello World”)文件,空的README文件和空的json文件的git在Heroku上创建一个简单的项目。
当我在终端输入git push heroku master
,我(部分)得到以下响应:
remote: ! Push failed due to an unrecognized error, and we've been notified.
remote:
remote: ! Please try pushing again.
remote: ! If the problem persists, see http://help.heroku.com/ and provide Request ID *my_project_id*.
remote:
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to *my_project_name*.
remote:
To https://git.heroku.com/*my_project_name*.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/*my_project_name*.git'
因此,我无法正确运行任何新的Heroku应用程序(其中可能仅包含php“ Hello World”文件)。
在我已经成功地将git push heroku master
用于数十个heroku应用程序之后(同一天),突然出现了此错误。 实际上,当我尝试编辑已经正常运行的应用程序时,也会出现此错误。
我怎样才能解决这个问题?
我非常确定我会受到Heroku本身发生的部署失败的影响,而与我所做的事情无关,导致此错误。
当出现问题时,我倾向于认为自己做错了,但有时可能是在计算机的另一端发生了问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.