簡體   English   中英

`git push heroku master`返回錯誤

[英]`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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM