我目前正在使用Windows 10,节点v7.10.0,npm v4.2.0并尝试使用
安装cloudant库npm install --save cloudant
谁能帮我弄清楚什么是错的?我尝试过重新安装node-gyp,
也尝试了
npm install --global --production windows-build-tools
这是错误
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe`
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program
Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Michael Vaquier\Documents\Wibicom\Wibismart-Bluemix-
App\node_modules\bufferutil
gyp ERR! node -v v7.10.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok