我正在执行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上部署(猜测?),所以这些解决方案都不适用于我。
非常感谢任何帮助。
干杯
答案 0 :(得分:0)
解决。将Web套接字升级到最新的稳定版本!