Node-gyp. MSBuild.exe` failed with exit code: 1
问题 I was trying to install sharp module, which requires: c++ compiler - I downloaded Visual Studio 2017 and visual c++ build tools node-gyp - It was installed successfully But running 'npm install -g sharp' I got many errors gyp ERR! stack Error: E:\VS\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\MyUsername\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\li \build.js:258:23) gyp ERR! stack at emitTwo (events.js:125:13) gyp ERR!