我似乎无法将我更新的存储库推送到Heroku。它以前工作过,现在Heroku上的应用程序正在运行,但我无法将更新推送到它。无法将我的node.js应用程序推送到Heroku
我试过npm更新,bower更新,重新安装Heroku-toolbelt,在不同的网络上推送,从heroku master拉出来,并强制推送给heroku master,git pull --rebase,npm cache clean,bower cache清理,卸载业力,在heroku上更新npm并清理heroku上的缓存。
我有Heroku帐户(https://github.com/ddollar/heroku-accounts)以及多个git帐户管理的多个Heroku帐户,但是我确信我使用的是正确的帐户。
下面是来自终端的最后几行没有推前:
3530 verbose rebuildBundles 'npmconf',
3530 verbose rebuildBundles 'rimraf',
3530 verbose rebuildBundles 'which' ]
3531 info install [email protected]
3532 verbose unsafe-perm in lifecycle true
3533 info [email protected] Failed to exec install script
3534 error [email protected] install: `node install.js`
3534 error Exit status 1
3535 error Failed at the [email protected] install script.
3535 error This is most likely a problem with the phantomjs package,
3535 error not with npm itself.
3535 error Tell the author that this fails on your system:
33535 error node install.js
3535 error You can get their info via:
3535 error npm owner ls phantomjs
3535 error There is likely additional logging output above.
3536 error System Linux 3.8.11-ec2
3537 error command "/tmp/build_4600dbd4-687a-4b9c-bf9a-71e3baf5a1c4/vendor/node/bin/node" "/tmp/build_4600dbd4-687a-4b9c-bf9a-71e3baf5a1c4/vendor/node/bin/npm" "rebuild"
3538 error cwd /tmp/build_4600dbd4-687a-4b9c-bf9a-71e3baf5a1c4
3539 error node -v v0.10.29
3540 error npm -v 1.4.14
3541 error code ELIFECYCLE
3542 verbose exit [ 1, true ]
! Push rejected, failed to compile Node.js app
To [email protected]:myapp.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:myapp.git'
任何帮助表示赞赏。谢谢!
这已经有一段时间,没有人曾评论或要求提供更多信息,净化我生成缓存。所以我对这里的一些想法缺乏了解。有谁知道我可以检查日志或任何东西以获取有关错误的更多信息? – user2669464
同样的问题在这里... –