npm not installing jsdom in Windows
我用jQuery在node.js中构建了一个应用程序,但是当我尝试执行时,它说它找不到模块
MSBUILD : error MSB3428: Could not load the Visual C++ component
"VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2)
install Microsoft Visual Studio 2005 or 3) add the location of t he
component to the system path if it is installed elsewhere.
[C:\\Sites\\myapp\
ode_modules\\jsdom\
ode_modules\\contextify\\build\\binding.sln]
我尝试了第一种选择,但仍然没有帮助。 我是什么(错)?
您不是唯一在Windows上安装jsdom的人。 您可以尝试以下说明:
http://www.steveworkman.com/node-js/2012/installing-jsdom-on-windows/
或使用更易于在Windows上安装并完成类似工作的Cheerio。