0

我遇到了这个存储库:https ://github.com/hatnote/rcmap并看到代码中的大多数文件都是 .js 文件。它在静态文件夹下也有 main.js。我对 node.js 有非常基本的了解,所以我尝试将它部署在 Heroku 中克隆 github 文件夹。

但是,它失败并显示未检测到 Cedar 应用程序的消息。

!Push rejected, no Cedar-supported app detected

To git@heroku.com:stark-mesa-4834.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:stark-mesa-4834.git'

我错过了什么?是否需要一些额外的文件?或者这个 repo 不能部署到 Heroku?

4

1 回答 1

0

Heorku 仅通过 Node Packaged Modules (NPM)package.json文件识别 Node.js 应用程序。您尝试部署的应用似乎没有使用 NPM。

看:

于 2013-08-17T09:13:02.130 回答