2017-06-25 172 views
1

我已經把所有東西都推送到github主分支,並且目前想要將它部署到heroku,但得到了這個錯誤。Heroku部署stucks

➜ xxxx git:(master) ✗ git push heroku master                                
Counting objects: 18, done.     
Delta compression using up to 4 threads.  
Compressing objects: 100% (16/16), done.  
Writing objects: 100% (18/18), 2.34 KiB | 0 bytes/s, done.        
Total 18 (delta 12), reused 0 (delta 0)  
remote: Compressing source files... done. 
remote: Building source: 
remote: ! 
remote: ! Build timed out while waiting to start. 
remote: ! 
remote: Verifying deploy... 
remote: 
remote: !  Push rejected to xxxxxx-xxxxx. 
remote: 
To https://git.heroku.com/xxxxx-xxxxx-xxxx.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to 'https://git.heroku.com/xxxxx-xxxx-xxx.git' 
+0

在我看來,這樣的事情如果提交:https://stackoverflow.com/questions/28318599/git -push-error-pre-receive-hook -decked它將取決於你使用的和正在嘗試做的 – spons

+0

你可以發佈Heroku日誌嗎? –

回答

0

嘗試git pull第一 - 有時意味着有,你將失去推動

+1

這是在heroku方面的麻煩 – denqxotl