【发布时间】:2013-04-22 15:44:12
【问题描述】:
这是我遇到的错误..
> 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,但它似乎忽略了这一点。
有点不知道如何解决这个错误。任何帮助将不胜感激。
【问题讨论】:
标签: node.js socket.io npm node-gyp