我在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
答案 0 :(得分:0)
设置此buildpack https://github.com/heroku/heroku-buildpack-static
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-static.git