在Heroku中,在应用部署期间构建应用程序失败

时间:2018-01-10 06:07:31

标签: heroku deployment build

我尝试在Heroku(the same one I tried asking about here)中部署应用程序,但是虽然它已部署,但我仍然输出错误的输出。所以我删除了已部署的应用程序(我使用Heroku的网站部署了它)并尝试使用cmd上的Heroku CLI来部署它。但突然之间,应用程序无法部署。我尝试再次使用该网站进行部署,但仍然无法部署并继续显示此错误消息

prop <- function(n, yes, a, b){

 p = numeric(length(n))      

for(i in 1:length(n)){  
p[i] <- rbeta(1e6, a[i] + yes[i], b[i] + (n[i] - yes[i]))
   }
}

1 个答案:

答案 0 :(得分:1)

删除名称字段中的大写字母和空格,如@Syed说的,并将其更改为make-sandwich。

当此方法不起作用时,我检查了存储库中的文件并意识到通过尝试执行命令,并非所有文件都已正确提交

git status

所以我使用了这些更改:

git add .
git commit -m "commit comment here"

,然后使用

推送更改
git push heroku master