Node.js Heroku npm bower问题平均堆栈应用程序
我一直试图说服希罗库,但没有成功。我尝试过修改.gitignore文件,坚持使用节点版本10,清除npm缓存,尝试阶段而不是生产,感到沮丧,请帮助Node.js Heroku npm bower问题平均堆栈应用程序,node.js,heroku,npm,bower,Node.js,Heroku,Npm,Bower,我一直试图说服希罗库,但没有成功。我尝试过修改.gitignore文件,坚持使用节点版本10,清除npm缓存,尝试阶段而不是生产,感到沮丧,请帮助 -----> Node.js app detected -----> Resetting git environment -----> Requested node range: 0.10.x -----> Resolved node version: 0.10.35 -----> Downloading and in
-----> Node.js app detected
-----> Resetting git environment
-----> Requested node range: 0.10.x
-----> Resolved node version: 0.10.35
-----> Downloading and installing node
-----> Found existing node_modules directory; skipping cache
-----> Rebuilding any native dependencies
npm ERR! Error: ENOENT, chmod '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/node-uuid/bin/uuid'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.8.11-ec2
npm ERR! command "/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/node" "/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/npm" "rebuild"
npm ERR! cwd /tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! path /tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/node-uuid/bin/uuid
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/npm-debug.log
npm ERR! not ok code 0
0 info it worked if it ends with ok
1 verbose cli [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/node',
1 verbose cli '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/npm',
1 verbose cli 'rebuild' ]
2 info using npm@1.4.28
3 info using node@v0.10.35
4 info readInstalled object
5 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a', 'cake@1.0.0' ]
6 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower',
6 verbose rebuild 'bower@1.3.12' ]
7 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/abbrev',
7 verbose rebuild 'abbrev@1.0.5' ]
8 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/archy',
8 verbose rebuild 'archy@0.0.2' ]
9 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower-config',
9 verbose rebuild 'bower-config@0.5.2' ]
10 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs',
10 verbose rebuild 'graceful-fs@2.0.3' ]
11 verbose rebuild path, id [ '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/mout',
11 verbose rebuild 'mout@0.9.1' ]
.......
667 verbose linkMans node-uuid@1.4.2
668 verbose rebuildBundles node-uuid@1.4.2
669 error Error: ENOENT, chmod '/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/node-uuid/bin/uuid'
670 error If you need help, you may report this *entire* log,
670 error including the npm and node versions, at:
670 error <http://github.com/npm/npm/issues>
671 error System Linux 3.8.11-ec2
672 error command "/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/node" "/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/npm" "rebuild"
673 error cwd /tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a
674 error node -v v0.10.35
675 error npm -v 1.4.28
676 error path /tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/node-uuid/bin/uuid
677 error code ENOENT
678 error errno 34
679 verbose exit [ 34, true ]
! Push rejected, failed to compile Node.js app
检测到Node.js应用程序
----->重置git环境
----->请求的节点范围:0.10.x
----->已解析节点版本:0.10.35
----->下载和安装节点
----->找到现有的节点\u模块目录;跳过缓存
----->重建任何本机依赖项
npm错误!错误:enoint,chmod'/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower registry client/node_modules/request/node_modules/node uuid/bin/uuid'
npm错误!如果您需要帮助,可以报告此*整个*日志,
npm错误!包括npm和节点版本,位于:
npm错误!
npm错误!Linux系统3.8.11-ec2
npm错误!命令“/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/node”“/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/npm”“rebuild”
npm错误!cwd/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a
npm错误!节点-v v0.10.35
npm错误!npm-V1.4.28
npm错误!path/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower registry client/node_modules/request/node_modules/node uuid/bin/uuid
npm错误!代码eNONT
npm错误!埃尔诺34
npm错误!
npm错误!其他日志记录详细信息可在以下位置找到:
npm错误/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/npm-debug.log
npm错误!不正常代码0
0信息如果以“确定”结尾,则有效
1个详细cli['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/node',
1个详细cli'/tmp/buildb8036aF8FA11D1792AE4D166A4EAAF9A/vendor/node/bin/npm',
1详细cli“重建”]
2信息使用npm@1.4.28
3信息使用node@v0.10.35
4信息读取已安装对象
5详细的重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a','cake@1.0.0' ]
6详细的重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower',
6详细重建'bower@1.3.12' ]
7详细重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/abbrev',
7详细重建'abbrev@1.0.5' ]
8详细重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/archy',
8详细重建'archy@0.0.2' ]
9详细重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower config',
9详细的“重建”鲍尔-config@0.5.2' ]
10详细重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower config/node_modules/fs',
10详细重建“优雅”-fs@2.0.3' ]
11详细重建路径,id['/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/mout',
11详细重建'mout@0.9.1' ]
.......
667详细链接器节点-uuid@1.4.2
668详细重建绑定节点-uuid@1.4.2
669错误:enoint,chmod'/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower registry client/node_modules/request/node_modules/node uuid/bin/uuid'
670错误如果需要帮助,可以报告此*整个*日志,
670错误,包括npm和节点版本,位于:
670错误
671错误系统Linux 3.8.11-ec2
672错误命令“/tmp/build\u b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/node”“/tmp/build\u b8036af8fa11d1792ae4d166a4eaaf9a/vendor/node/bin/npm”“重建”
673错误cwd/tmp/BUILD8036aF8FA11D1792AE4D166A4EAAF9A
674错误节点-v v0.10.35
675错误npm-第1.4.28节
676错误路径/tmp/build_b8036af8fa11d1792ae4d166a4eaaf9a/node_modules/bower/node_modules/bower registry client/node_modules/request/node_modules/node uuid/bin/uuid
677错误代码enoint
678错误号34
679详细退出[34,true]
! 推送被拒绝,未能编译Node.js应用程序
您是否能够清除现有的node\u modules目录?仅根据这些错误日志很难说。你是否在应用程序中包含一个Procfile,并在package.json中明确说明你的nose版本?@generalhenry让我试试that@JamesP是的,并明确说明npm版本,但无效。。。