Closed sumeetbartha closed 6 years ago
I have updated to bcrypt to use version 1.0.3 instead of 0.8.5 to get rid of the error.
if you insist on using 0.8.5 you should try and find a solution on the bcrypt project, found some issues there
i think there is an issue with bcrypt . Thanks for the help . 1.0.3 solved it for me :)
Machine OS : window 10 issue : i am getting following error code while npm install. D:\Appvantage Images\db\atlas-master\atlas-master>npm install npm WARN package.json atlas@1.0.0 No license field. \
D:\Appvantage Images\db\atlas-master\atlas-master\node_modules\bcrypt>if not defined npm_config_node_gyp (node "C:\Program Files\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 MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0". 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\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Windows_NT 10.0.15063 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 D:\Appvantage Images\db\atlas-master\atlas-master\node_modules\bcrypt gyp ERR! node -v v4.4.2 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! node v4.4.2 npm ERR! npm v2.15.0 npm ERR! code ELIFECYCLEnpm ERR! bcrypt@0.8.5 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the bcrypt 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 bcrypt npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls bcrypt npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! D:\Appvantage Images\db\atlas-master\atlas-master\npm-debug.log