似乎有一个奇怪的问题,我在上雪松堆栈的Heroku应用程序的部署,其中我的节点处理甚至不被调用
我Procfile如下:
web: node web.js
我的package.json文件:
{
"name": "fuuzik",
"version": "0.0.1",
"dependencies": {
"express": "3.x",
"jade":"*",
"mime-magic":"*"
},
"engines": {
"node": "0.8.x",
"npm": "1.1.x"
}
}
所以,在我提交和推送的Heroku检测它的一个节点应用罚款和建立正确我的依赖关系,甚至说,它部署了..但应用程序会立即坠毁,机上部署和Heroku上记录的回报:
2012-08-29T08:52:14+00:00 heroku[api]: Deploy d9fdb17 by he610@doc.ic.ac.uk
2012-08-29T08:52:14+00:00 heroku[web.1]: State changed from crashed to starting
2012-08-29T08:52:14+00:00 heroku[slugc]: Slug compilation finished
2012-08-29T08:52:16+00:00 heroku[web.1]: Starting process with command `node web.js`
2012-08-29T08:52:16+00:00 app[web.1]: bash: node: command not found
2012-08-29T08:52:17+00:00 heroku[web.1]: Process exited with status 127
2012-08-29T08:52:17+00:00 heroku[web.1]: State changed from starting to crashed
工头运行良好,并有一对夫妇的周围的根目录.php文件(因为我移植一些旧的代码),但我敢肯定,应该由Procfiles的逻辑被允许
由于这里要求的NPM的输出本地安装:
--[/DEBUG]--
jade@0.27.2 node_modules/jade
├── commander@0.6.1
└── mkdirp@0.3.0
express@3.0.0rc3 node_modules/express
├── methods@0.0.1
├── range-parser@0.0.4
├── fresh@0.1.0
├── cookie@0.0.4
├── crc@0.2.0
├── commander@0.6.1
├── debug@0.7.0
├── mkdirp@0.3.3
├── send@0.0.3 (mime@1.2.6)
└── connect@2.4.3 (pause@0.0.1, bytes@0.1.0, qs@0.4.2, formidable@1.0.11)
mime-magic@0.3.0 node_modules/mime-magic
而这里的时候我把(这是一个有点大,所以我联系吧)git的日志:
http://pastebin.com/d424TBfR
任何帮助表示赞赏!