无法将我的node.js应用推送到Heroku

用户名

我似乎无法将更新后的存储库推送到Heroku。它以前可以正常运行,并且该应用程序现在可以在Heroku上运行,但是我无法将更新推送到它。

我尝试过npm update,bower更新,重新安装Heroku-toolbelt,在其他网络上推送时,从heroku master中拉出并强制推送到heroku master,git pull --rebase,npm cache clean,bower cache clean,卸载业力,更新heroku上的npm并清理heroku上的缓存。

我有多个用Heroku帐户(https://github.com/ddollar/heroku-accounts管理的Heroku帐户,以及多个git帐户,但我确定自己使用的帐户正确。

这是终端无法推送之前的最后几行:

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'

任何帮助表示赞赏。谢谢!

用户名

在StackOverflow上没有得到任何答案之后,我在Heroku支持上发布了我的问题。问题来自phantomjs,我从依赖项中删除了它并将其移至devDependencies。之后,我使用heroku-repo插件https://github.com/heroku/heroku-repo清除了构建缓存

然后我可以再次推到Heroku

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法将我的node.js应用程序推送到Heroku

来自分类Dev

无法将我的Django应用推送到heroku

来自分类Dev

为什么我无法将我的应用程序推送到Heroku?

来自分类Dev

无法将我的本地应用程序推送到bluemix

来自分类Dev

在Heroku上意外删除应用后无法推送到Heroku

来自分类Dev

无法推送到现有的heroku应用

来自分类Dev

推送到heroku后无法访问应用

来自分类Dev

我的 node + express 应用程序在本地部署良好,但在推送到 heroku 时不会部署

来自分类Dev

我无法将Bitbucket上已托管的应用程序推送到heroku

来自分类Dev

无法通过socket.io将我的Swift应用连接到node.js

来自分类Dev

无法将我的代码推送到Heroku:权限被拒绝<public key>致命:无法从远程存储库读取

来自分类Dev

我需要Procfile将Sinatra应用程序推送到Heroku吗?

来自分类Dev

无法将我的 symfony 应用程序部署到 heroku

来自分类Dev

由于西兰花-ass和node-sass,无法将ember cli应用程序推送到heroku

来自分类Dev

我在将Rails应用程序推送到Heroku时遇到麻烦/无法安装“ pg” gem吗?

来自分类Dev

无法推送到Heroku(非快进)[Rails]

来自分类Dev

尝试将我的应用程序推送到heroku时,出现此错误FileNotFoundError:[Errno 2]没有此类文件或目录:'/ app / gettingstarted / media'

来自分类Dev

Mongodb Atlas + Node.js在本地工作,但是在推送到Heroku时停止

来自分类Dev

为什么我仍然无法将我的代码推送到 github?

来自分类Dev

Heroku将源代码推送到我的存储库中,但不推送到平台heroku

来自分类Dev

无法将我的泊坞窗推送到Bluemix-登录错误

来自分类Dev

无法将我的本地git存储库推送到远程存储库

来自分类Dev

为什么无法将我的wordpress目录推送到远程github存储库中?

来自分类Dev

我无法使用node.js将数组推送到mongodb文档

来自分类Dev

将我的应用程序推送到cloudControl(PaaS)失败:挂钩被拒绝

来自分类Dev

Heroku“推送被拒绝,无法编译Python应用”

来自分类Dev

我无法将我的请求发送到rpc_server,我在Heroku上使用pika使用RabbitMQ

来自分类Dev

Angular JS-无法推送到数组

来自分类Dev

无法推送到Heroku-捆绑程序失败

Related 相关文章

  1. 1

    无法将我的node.js应用程序推送到Heroku

  2. 2

    无法将我的Django应用推送到heroku

  3. 3

    为什么我无法将我的应用程序推送到Heroku?

  4. 4

    无法将我的本地应用程序推送到bluemix

  5. 5

    在Heroku上意外删除应用后无法推送到Heroku

  6. 6

    无法推送到现有的heroku应用

  7. 7

    推送到heroku后无法访问应用

  8. 8

    我的 node + express 应用程序在本地部署良好,但在推送到 heroku 时不会部署

  9. 9

    我无法将Bitbucket上已托管的应用程序推送到heroku

  10. 10

    无法通过socket.io将我的Swift应用连接到node.js

  11. 11

    无法将我的代码推送到Heroku:权限被拒绝<public key>致命:无法从远程存储库读取

  12. 12

    我需要Procfile将Sinatra应用程序推送到Heroku吗?

  13. 13

    无法将我的 symfony 应用程序部署到 heroku

  14. 14

    由于西兰花-ass和node-sass,无法将ember cli应用程序推送到heroku

  15. 15

    我在将Rails应用程序推送到Heroku时遇到麻烦/无法安装“ pg” gem吗?

  16. 16

    无法推送到Heroku(非快进)[Rails]

  17. 17

    尝试将我的应用程序推送到heroku时,出现此错误FileNotFoundError:[Errno 2]没有此类文件或目录:'/ app / gettingstarted / media'

  18. 18

    Mongodb Atlas + Node.js在本地工作,但是在推送到Heroku时停止

  19. 19

    为什么我仍然无法将我的代码推送到 github?

  20. 20

    Heroku将源代码推送到我的存储库中,但不推送到平台heroku

  21. 21

    无法将我的泊坞窗推送到Bluemix-登录错误

  22. 22

    无法将我的本地git存储库推送到远程存储库

  23. 23

    为什么无法将我的wordpress目录推送到远程github存储库中?

  24. 24

    我无法使用node.js将数组推送到mongodb文档

  25. 25

    将我的应用程序推送到cloudControl(PaaS)失败:挂钩被拒绝

  26. 26

    Heroku“推送被拒绝,无法编译Python应用”

  27. 27

    我无法将我的请求发送到rpc_server,我在Heroku上使用pika使用RabbitMQ

  28. 28

    Angular JS-无法推送到数组

  29. 29

    无法推送到Heroku-捆绑程序失败

热门标签

归档