![](/img/trans.png)
[英]Deploying React to Heroku - Application Error but no error on build
[英]build error while deploying a html application in heroku
我已经在github中上传了一个html应用程序,但是尝试在heroku中部署它时却遇到此错误:
No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
! Push failed
设置此buildpack https://github.com/heroku/heroku-buildpack-static
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-static.git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.