安装socket.io输出(node-gyp rebuild 2> builderror.log)|| (出口0)和重buildpath

我知道,有一些关于这个问题,我读了,但我没有find一个解决scheme来解决它的输出,我得到它不同于其他用户,因为我没有得到任何关于微软或其他东西的消息。

我得到的消息是:

> ws@0.5.0 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 / > ws@0.4.31 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 socket.io@1.2.1 node_modules\socket.io ├── debug@0.7.4 ├── has-binary-data@0.1.3 (isarray@0.0.1) ├── socket.io-adapter@0.3.1 (object-keys@1.0.1, debug@1.0.2) ├── socket.io-parser@2.2.2 (isarray@0.0.1, component-emitter@1.1.2, benchmark@1. 0.0, json3@3.2.6) ├── engine.io@1.4.3 (base64id@0.1.0, debug@1.0.3, engine.io-parser@1.1.0, ws@0.5 .0) └── socket.io-client@1.2.1 (indexof@0.0.1, to-array@0.1.3, component-bind@1.0.0, object-component@0.0.3, component-emitter@1.1.2, has-binary@0.1.5, parseuri@0.0 .2, engine.io-client@1.4.3) 

我想知道如何解决这个问题,但是我想知道什么是ws

这看起来像ws已成功安装。 你运行你的应用程序/服务器有问题吗? 如果是这样,请将npm-debug.log上传为https://github.com/gist,并在此处链接。

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