【问题标题】:node.js heroku - "error Failed at the ws@0.4.8 preinstall script"node.js heroku - “错误在 ws@0.4.8 预安装脚本失败”
【发布时间】:2014-01-18 15:30:22
【问题描述】:

我正在按照https://devcenter.heroku.com/articles/getting-started-with-nodejs 中列出的步骤在 heroku 上部署我的应用

我在部署时收到以下错误消息

854 info build /tmp/build_4cdbd3fc-aa32-4d15-9366 ebdef5c5cb93/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
855 info preinstall ws@0.4.8
856 verbose unsafe-perm in lifecycle true
857 info ws@0.4.8 Failed to exec preinstall script
858 error ws@0.4.8 preinstall: `make`
858 error Exit status 2
859 error Failed at the ws@0.4.8 preinstall script.
859 error This is most likely a problem with the ws package,
859 error not with npm itself.
859 error Tell the author that this fails on your system:
859 error     make
859 error You can get their info via:
859 error     npm owner ls ws

我在这里看到了类似的问题,但没有一个解决方案适合我,因为我在 heroku 上进行部署(猜猜?)。

我们将不胜感激。

干杯

【问题讨论】:

    标签: node.js heroku socket.io


    【解决方案1】:

    解决了。已将 Web Sockets 升级到最新的稳定版本!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-09-07
      • 2021-11-08
      • 1970-01-01
      • 2021-10-14
      • 2018-11-23
      • 1970-01-01
      • 2017-03-29
      • 2020-06-27
      相关资源
      最近更新 更多