Open chadbr opened 7 years ago
@chadbr Did you try following the suggestions in the error message?:
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 the component to the system path if it is installed elsewhere. [C:\dev\git\someApp\node_modules\buffertools\build\binding.sln]
tried a lot of 2.x versions - they all fail...
C:\dev\git\someApp>npm install buffertools
C:\dev\git\someApp\node_modules\buffertools>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Fram ework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\dev\git\someApp\node_modules\buffertools\build\binding.sln] gyp ERR! build error gyp ERR! stack Error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\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 (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\dev\git\someApp\node_modules\buffertools gyp ERR! node -v v7.7.2 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok npm WARN someapp@1.0.0 No description npm WARN someapp@1.0.0 No repository field. npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "buffertools" npm ERR! node v7.7.2 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLEnpm ERR! buffertools@2.1.4 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the buffertools@2.1.4 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the buffertools package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs buffertools npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls buffertools npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! C:\dev\git\someApp\npm-debug.log
C:\dev\git\someApp>