正如標題所說,我想我的應用程序推送到Heroku的,但我不斷收到這些錯誤:嘗試我的Node.js應用程序推送到Heroku的,錯誤:ENOENT玉NPM
291 error Error: ENOENT, chmod '/tmp/build_htb3av307zzc/node_modules/jade/bin/jade'
292 error If you need help, you may report this log at:
292 error <http://github.com/isaacs/npm/issues>
292 error or email it to:
292 error <[email protected]>
293 error System Linux 2.6.32-350-ec2
294 error command "/tmp/node-node-lBSf/bin/node" "/tmp/node-npm-vbZC/cli.js" "rebuild"
295 error cwd /tmp/build_htb3av307zzc
296 error node -v v0.10.2
297 error npm -v 1.2.15
298 error path /tmp/build_htb3av307zzc/node_modules/jade/bin/jade
299 error code ENOENT
300 error errno 34
301 verbose exit [ 34, true ]
我的package.json如下:
{
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js"
},
"dependencies": {
"express": "3.1.1",
"jade": "*",
"mongojs": "*",
"less": "*",
"crypto": "*"
},
"engines": {
"node": "0.10.2",
"npm": "1.2.15"
}
}
我一直在谷歌上搜索和閱讀的錯誤:從的.gitignore玉ENOENT和所有的答案似乎只是說,將/ bin/tmp目錄,這個可悲的是沒有沒有爲我解決這個問題,我轉向你們尋求幫助,任何事情將不勝感激我要扔我的顯示器:)謝謝!
'ENOENT'通常是找不到文件時拋出的錯誤。所以也許某個配置文件丟失了? – Xavi 2013-04-06 09:12:12