我似乎無法將我更新的存儲庫推送到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
同樣的問題在這裏... –