繁体   English   中英

将应用程序部署到Heroku

[英]Deploying apps to Heroku

我遇到了这个存储库: 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'

我想念什么? 是否需要其他文件? 还是无法将此回购部署到Heroku?

Heorku仅通过节点打包模块(NPM) package.json文件识别Node.js应用程序。 您要部署的应用似乎没有使用NPM。

看到:

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM