提示如下
d:\Dev\node.js\test\hello\node_modules\socket.io\node_modules\socket.io-client ode_modules\ws>node “c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin …\node_modules\node-gyp\bin\node-gyp.js” rebuild 在此解決方案中一次生成一個項目。若要啟用並行生成,請添加“/m”開關。 MSBUILD : error MSB3428: 未能加載 Visual C++ 組件“VCBuild.exe”。要解決此問題,
解決方式如下:
npm install --global --production windows-build-tools