【发布时间】:2017-01-31 07:52:30
【问题描述】:
我尝试在 heroku 上推送我的 node.js 应用程序,但是。无法检测到此应用的默认语言。我什至尝试过 heroku buildpacks:set heroku/nodejs。但是还是推不开。
Counting objects: 31, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (24/24), done.
Writing objects: 100% (31/31), 5.37 KiB | 0 bytes/s, done.
Total 31 (delta 3), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! No default language could be detected for this app.
remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote: See https://devcenter.heroku.com/articles/buildpacks
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to radiant-cliffs-91678.
remote:
To https://git.heroku.com/radiant-cliffs-91678.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/radiant-cliffs-91678.git'
【问题讨论】:
标签: javascript node.js git heroku