我正在尝试安装tower.js
的依赖项。我所做的是:
tower new towerBot
cd towerBot
npm install
得到错误:
C:\Project\towerBot\node_modules\grunt-contrib\node_modules\grunt-contrib-image
min\node_modules\optipng-bin\node_modules\exec-sync\node_modules\ffi\node_modul
es\ref\build\binding.sln : error MSB3411: Could not load the Visual C++ compone
nt "VCBuild.exe". If the component is not installed, either 1) install the Micr
osoft Windows SDK for Windows Server 2008 and .NET Framework 3.5, or 2) install
Microsoft Visual Studio 2008.
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe` fail
ed with exit code: 1
第一个我甚至安装了2012版本。对于msbuild.exe
,我不知道。你们能帮助我吗?我正在使用Windows 8 64位,node.js
32位v0.8.20,node-gyp
v0.8.4,当我尝试node-gyp
时,此configure
也总是出错,错误与上面相同。有什么想法吗?