当我尝试在npm中安装软件包时,我总是遇到如下错误:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t
argets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform T
oolset = 'v100') cannot be found. To build using the v100 build tools, please i
nstall Visual Studio 2010 build tools. Alternatively, you may upgrade to the c
urrent Visual Studio tools by selecting the Project menu or right-click the sol
ution, and then selecting "Upgrade Solution...". [C:\Projects\framework
\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_m
odules\ws\build\bufferutil.vcxproj]
我有Visual Studio 12和Visual Studio Express 10。
我尝试了很多东西,此时我猜测Windows 8不支持Node,但如果有人有运气,请告诉我。
让人们在Cygwin下运行Node有合理的经验吗?
答案 0 :(得分:0)
我在Windows 8上遇到过类似的问题,你试过安装python 2.x吗?因为node-gyp需要python来生成配置以便稍后进行编译。