【发布时间】:2014-11-09 22:49:59
【问题描述】:
我正在尝试在 heroku 服务器上部署我的 3d 游戏(使用 three.js 创建)。但是在命令“git push heroku master”之后,我遇到了以下问题:
Initializing repository, done.
Counting objects: 252, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (251/251), done.
Writing objects: 100% (252/252), 2.38 MiB | 89.00 KiB/s, done.
Total 252 (delta 55), reused 0 (delta 0)
-----> Removing .DS_Store files
! Push rejected, no Cedar-supported app detected
To git@heroku.com:infinite-woodland-7676.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:infinite-woodland-7676.git'
链接到存储库 --> https://github.com/mkkroliks/Snake3d
我没有使用 heroku 的经验,所以它可能是简单的解决方案,但我在网上找不到任何解决方案。
【问题讨论】:
-
您似乎缺少一些关键文件,heroku 需要这些文件来识别您的应用和应用类型
-
当我部署节点应用程序时,我有 Procfile ......但在这种情况下认为没有必要。
标签: javascript git heroku three.js