Socket.io编译错误
这是错误即时获取..
> ws@0.4.25 install C:\Users\Darryl\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws > (node-gyp rebuild 2> builderror.log) || (exit 0) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. C:\Users\Darryl\.node-gyp\0.8.7\deps\uv\include\uv.h(55): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory [C:\Users\Darryl\node_modules\socket.io\nod t.io-client\node_modules\ws\build\binding.sln] Project : warning PRJ0018: The following environment variables were not found: [C:\Users\Darryl\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]
是什么让它成为一个问题是binding.sln目录/文件确实存在(我有Visual Studio Express 2012安装)
我也有python安装,但似乎忽略了。
有点失去了如何解决这个错误。 任何帮助,将不胜感激。
我通过在安装socket.io包的时候指定了visual studio版本来解决这个问题。
你可以尝试使用:
npm安装socket.io –msvs_version = 2012
- 带有nw-gyp的Node-webkit多平台本机模块
- 我无法安装node-libcurl模块
- 在通过命令行传递时,node-gypvariables的行为有所不同
- node-gyp在关于不兼容types的基本Buffer :: Length操作上崩溃
- npm install上的node-gyp错误:bson和kerberos编译中的致命错误C1083
- 运行时的符号查找错误
- 如何将tesseract库包含在node-gyp构build过程中
- 将一个x86 C dll符号包装到nodejs javascript中
- 找不到Python可执行文件“/path/to/executable/python2.7”,可以设置PYTHON envvariables