node.js - 安装socket.io输出(node-gyp重建2> builderror.log)|| (导出 0)和重建路径

标签 node.js socket.io npm

我知道有一些问题,我读了它,但没有找到解决方案,并且我得到的输出与其他用户不同,因为我没有收到任何有关 Microsoft 或其他的消息事情。

我收到的消息是:

> <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cabdb98afae4ffe4fa" rel="noreferrer noopener nofollow">[email protected]</a> install E:\wamp\www\sandbox\chat\node_modules\socket.io\node_modules\engine.io\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)


E:\wamp\www\sandbox\chat\node_modules\socket.io\node_modules\engine.io\node_modules\ws>node        
"C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
/

> <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3b4c487b0b150f15080a" rel="noreferrer noopener nofollow">[email protected]</a> install E:\wamp\www\sandbox\chat\node_modules\socket.io\node_modules
\socket.io-client\node_modules\engine.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)


E:\wamp\www\sandbox\chat\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws>node 
"C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild

<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e2918d81898796cc8b8da2d3ccd0ccd3" rel="noreferrer noopener nofollow">[email protected]</a> node_modules\socket.io
├── <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a2c6c7c0d7c5e2928c958c96" rel="noreferrer noopener nofollow">[email protected]</a>
├── <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2f474e5c024d46414e5d56024b4e5b4e6f1f011e011c" rel="noreferrer noopener nofollow">[email protected]</a> (<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9cf5effdeeeefde5dcacb2acb2ad" rel="noreferrer noopener nofollow">[email protected]</a>)
├── <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ec9f838f878998c28583c18d888d9c98899eacdcc2dfc2dd" rel="noreferrer noopener nofollow">[email protected]</a> (<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3a5558505f594e17515f43497a0b140a140b" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cca8a9aeb9ab8cfde2fce2fe" rel="noreferrer noopener nofollow">[email protected]</a>)
├── <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1a697579717f6e347375376a7b68697f685a2834283428" rel="noreferrer noopener nofollow">[email protected]</a> (<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e089938192928199a0d0ced0ced1" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="41222e2c312e2f242f356c242c283535243301706f706f73" rel="noreferrer noopener nofollow">[email protected]</a>, benchmark@1.
0.0, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7c160f13124f3c4f524e524a" rel="noreferrer noopener nofollow">[email protected]</a>)
├── <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="97f2f9f0fef9f2b9fef8d7a6b9a3b9a4" rel="noreferrer noopener nofollow">[email protected]</a> (<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="244645574112104d4064140a150a14" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1f7b7a7d6a785f2e312f312c" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="51343f36383f347f383e7c21302322342311607f607f61" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="04737744342a31" rel="noreferrer noopener nofollow">[email protected]</a>
.0)
└── <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="63100c000806174d0a0c4e000f0a060d1723524d514d52" rel="noreferrer noopener nofollow">[email protected]</a> (<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d6bfb8b2b3aeb9b096e6f8e6f8e7" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8df9e2a0ecffffecf4cdbda3bca3be" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fc9f93918c9392999288d19e959298bccdd2ccd2cc" rel="noreferrer noopener nofollow">[email protected]</a>,
 <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="553a373f30362178363a38253a3b303b2115657b657b66" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="97f4f8fae7f8f9f2f9e3baf2fafee3e3f2e5d7a6b9a6b9a5" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="412920326c23282f20333801716f706f74" rel="noreferrer noopener nofollow">[email protected]</a>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cdbdacbfbea8b8bfa48dfde3fd" rel="noreferrer noopener nofollow">[email protected]</a>
.2, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="12777c757b7c773c7b7d3f717e7b777c6652233c263c21" rel="noreferrer noopener nofollow">[email protected]</a>)

我想知道如何修复它,但我也想知道ws是什么

最佳答案

看起来 ws 已成功安装。您运行应用程序/服务器时遇到任何问题吗?如果是这样,请上传 npm-debug.log 作为要点 https://github.com/gist并在此处发布链接。

至于“什么是ws”,您可以在这里阅读:https://github.com/einaros/ws#ws-a-nodejs-websocket-library

关于node.js - 安装socket.io输出(node-gyp重建2> builderror.log)|| (导出 0)和重建路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27952514/

相关文章:

node.js - 如何从Electron/React App访问脚本?

javascript - Sockets.io构建错误, fatal error c1083,请指教

javascript - 使用 npm 打包 javascript 项目并将其划分为 Node 模块以创建依赖树

json - 从自定义文件系统目录离线透明地安装 npm 包

python - 如何在node.js中使用python脚本

java - 与嵌入式 JAR 文件通信

node.js - 在nodejs中获取引用脚本文件

node.js - 没有 express.js 的 Socket.io session ?

sockets - 检查是否有人在Laravel Controller的套接字 channel 上进行了连接

node.js - 如何将 NPM 模块(十进制)添加到 ArangoDB 以进行 ACID 事务