node.js - npm install fails with gyp build error -
i have been trying node , git working web project working on without luck.
i have installed node website. when try npm install on git project working on gives me following error
c:\users\jibran\desktop\ekhadim\ekhadimweb>npm install npm http https://registry.npmjs.org/bcrypt npm http 304 https://registry.npmjs.org/bcrypt npm http https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings > bcrypt@0.7.8 install c:\users\jibran\desktop\ekhadim\ekhadimweb\node_modules\b crypt > node-gyp rebuild c:\users\jibran\desktop\ekhadim\ekhadimweb\node_modules\bcrypt>node "c:\program files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\ node-gyp.js" rebuild building projects in solution 1 @ time. enable parallel build, please add "/m" switch. c:\program files (x86)\msbuild\microsoft.cpp\v4.0\microsoft.cpp.invalidplatform .targets(23,7): error msb8007: platform project 'bcrypt_lib.vcxproj' invalid. platform='x64'. may seeing message because tryin g build project without solution file, , have specified non-default platform doesn't exist project. [c:\users\jibran\desktop\ekhadim\ ekhadimweb\node_modules\bcrypt\build\bcrypt_lib.vcxproj] gyp err! build error gyp err! stack error: `c:\windows\microsoft.net\framework\v4.0.30319\msbuild.exe ` failed exit code: 1 gyp err! stack @ childprocess.onexit (c:\program files\nodejs\node_modules\ npm\node_modules\node-gyp\lib\build.js:267:23) gyp err! stack @ childprocess.eventemitter.emit (events.js:98:17) gyp err! stack @ process.childprocess._handle.onexit (child_process.js:807: 12) gyp err! system windows_nt 6.2.9200 gyp err! command "node" "c:\\program files\\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp err! cwd c:\users\jibran\desktop\ekhadim\ekhadimweb\node_modules\bcrypt gyp err! node -v v0.10.28 gyp err! node-gyp -v v0.13.1 gyp err! not ok npm err! bcrypt@0.7.8 install: `node-gyp rebuild` npm err! exit status 1 npm err! npm err! failed @ bcrypt@0.7.8 install script. npm err! problem bcrypt package, npm err! not npm itself. npm err! tell author fails on system: npm err! node-gyp rebuild npm err! can info via: npm err! npm owner ls bcrypt npm err! there additional logging output above. npm err! system windows_nt 6.2.9200 npm err! command "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nod ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm err! cwd c:\users\jibran\desktop\ekhadim\ekhadimweb npm err! node -v v0.10.28 npm err! npm -v 1.4.9 npm err! code elifecycle npm err! npm err! additional logging details can found in: npm err! c:\users\jibran\desktop\ekhadim\ekhadimweb\npm-debug.log npm err! not ok code 0
i have installed python, vc++ 2008 , 2010 , openssl nothing has worked me yet.
any appreciated.
thanks jibran
installing windows build tools worked me:
npm install --global --production windows-build-tools
Comments
Post a Comment