3

我正在尝试安装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.js32 位 v0.8.20、node-gypv0.8.4,node-gyp当我尝试configure它时也总是出错,错误与上述相同。有什么想法吗?

4

0 回答 0