Skip to content

bcrypt struggles to install on W7 64bit #102

@JohnMcLear

Description

@JohnMcLear

python and openssl installed
ssl installed in C:\OpenSSL-Win64
openssl.exe in C:\OpenSSL-Win64\bin

C:\temp\primarywall>npm install bcrypt --verbose > verbose.txt
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'install',
npm verb cli   'bcrypt',
npm verb cli   '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb node symlink C:\Program Files\nodejs\\node.exe
npm verb read json C:\temp\primarywall\package.json
npm verb read json C:\temp\primarywall\node_modules\async\package.json
npm verb read json C:\temp\primarywall\node_modules\cookies\package.json
npm verb read json C:\temp\primarywall\node_modules\mailer\package.json
npm verb read json C:\temp\primarywall\node_modules\mysql\package.json
npm verb read json C:\temp\primarywall\node_modules\python\package.json
npm verb read json C:\temp\primarywall\node_modules\socket.io\package.json
npm verb read json C:\temp\primarywall\package.json
npm verb cache add [ 'bcrypt', null ]
npm verb parsed url { pathname: 'bcrypt', path: 'bcrypt', href: 'bcrypt' }
npm verb lock bcrypt C:\Users\john\AppData\Roaming\npm-cache\51684124-bcrypt.lock
npm verb addNamed [ 'bcrypt', '' ]
npm verb addNamed [ null, '' ]
npm verb lock bcrypt@ C:\Users\john\AppData\Roaming\npm-cache\1351601c-bcrypt.lock
npm verb url raw bcrypt
npm verb url resolving [ 'https://registry.npmjs.org/', './bcrypt' ]
npm verb url resolved https://registry.npmjs.org/bcrypt
npm info retry registry request attempt 1 at 00:23:42
npm verb etag "6G0WFTH3297F8IDGS1LMXG8BB"
npm http GET https://registry.npmjs.org/bcrypt
npm http 304 https://registry.npmjs.org/bcrypt
npm verb etag bcrypt from cache
npm verb addNamed [ 'bcrypt', '0.7.2' ]
npm verb addNamed [ '0.7.2', '0.7.2' ]
npm verb lock [email protected] C:\Users\john\AppData\Roaming\npm-cache\b9391e73-bcrypt-0-7-2.lock
npm verb read json C:\Users\john\AppData\Roaming\npm-cache\bcrypt\0.7.2\package\package.json
npm info install [email protected] into C:\temp\primarywall
npm info installOne [email protected]
npm verb from cache C:\Users\john\AppData\Roaming\npm-cache\bcrypt\0.7.2\package\package.json
npm info C:\temp\primarywall\node_modules\bcrypt unbuild
npm verb read json C:\temp\primarywall\node_modules\bcrypt\package.json
npm verb tar unpack C:\Users\john\AppData\Roaming\npm-cache\bcrypt\0.7.2\package.tgz
npm verb lock C:\temp\primarywall\node_modules\bcrypt C:\Users\john\AppData\Roaming\npm-cache\b8b8f635--primarywall-node-modules-bcrypt.lock
npm verb read json C:\temp\primarywall\node_modules\bcrypt\package.json
npm info preinstall [email protected]
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\package.json
npm verb readDependencies using package.json deps
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\package.json
npm verb readDependencies using package.json deps
npm verb cache add [ '[email protected]', null ]
npm verb parsed url { pathname: '[email protected]',
npm verb parsed url   path: '[email protected]',
npm verb parsed url   href: '[email protected]' }
npm verb parsed url { pathname: '1.0.0', path: '1.0.0', href: '1.0.0' }
npm verb addNamed [ 'bindings', '1.0.0' ]
npm verb addNamed [ '1.0.0', '1.0.0' ]
npm verb lock [email protected] C:\Users\john\AppData\Roaming\npm-cache\f01e5454-bindings-1-0-0.lock
npm verb url raw bindings/1.0.0
npm verb url resolving [ 'https://registry.npmjs.org/', './bindings/1.0.0' ]
npm verb url resolved https://registry.npmjs.org/bindings/1.0.0
npm info retry registry request attempt 1 at 00:23:44
npm verb etag "1VQ5Q5SYHAX5F95YS1R6ARS24"
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 304 https://registry.npmjs.org/bindings/1.0.0
npm verb etag bindings/1.0.0 from cache
npm verb read json C:\Users\john\AppData\Roaming\npm-cache\bindings\1.0.0\package\package.json
npm info install [email protected] into C:\temp\primarywall\node_modules\bcrypt
npm info installOne [email protected]
npm verb from cache C:\Users\john\AppData\Roaming\npm-cache\bindings\1.0.0\package\package.json
npm info C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings unbuild
npm verb read json C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings\package.json
npm verb tar unpack C:\Users\john\AppData\Roaming\npm-cache\bindings\1.0.0\package.tgz
npm verb lock C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings C:\Users\john\AppData\Roaming\npm-cache\63398a58-les-bcrypt-node-modules-bindings.lock
npm verb read json C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings\package.json
npm info preinstall [email protected]
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings\package.json
npm verb readDependencies using package.json deps
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings\package.json
npm verb readDependencies using package.json deps
npm verb about to build C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings
npm info build C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\node_modules\bindings\package.json
npm verb linkStuff [ false,
npm verb linkStuff   false,
npm verb linkStuff   false,
npm verb linkStuff   'C:\\temp\\primarywall\\node_modules\\bcrypt\\node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm info install [email protected]
npm info postinstall [email protected]
npm verb about to build C:\temp\primarywall\node_modules\bcrypt
npm info build C:\temp\primarywall\node_modules\bcrypt
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\package.json
npm verb linkStuff [ false, false, false, 'C:\\temp\\primarywall\\node_modules' ]
npm info linkStuff [email protected]
npm verb linkBins [email protected]
npm verb linkMans [email protected]
npm verb rebuildBundles [email protected]
npm verb rebuildBundles [ 'bindings' ]
npm info install [email protected]
npm verb unsafe-perm in lifecycle true
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded for `%s` python C:\python27\python.EXE
gyp verb check python version `python --version` returned: "Python 2.7.3\r\n"
gyp verb check python version using version "2.7.3" to check
gyp verb get node dir no --target version specified, falling back to host node version: v0.8.8
gyp verb command install [ 'v0.8.8' ]
gyp verb install input version string "v0.8.8"
gyp verb installing legacy version? false
gyp verb install installing version: 0.8.8
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.8.8
gyp verb build dir attempting to create "build" dir: C:\temp\primarywall\node_modules\bcrypt\build
gyp verb build dir "build" dir needed to be created? C:\temp\primarywall\node_modules\bcrypt\build
gyp verb config.gypi creating config file
gyp verb config.gypi writing out config file: C:\temp\primarywall\node_modules\bcrypt\build\config.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn python
gyp info spawn args [ 'C:\\Users\\john\\.node-gyp\\0.8.8\\tools\\gyp\\gyp',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=2010',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\temp\\primarywall\\node_modules\\bcrypt\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\john\\.node-gyp\\0.8.8\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\john\\.node-gyp\\0.8.8',
gyp info spawn args   '-Dmodule_root_dir=C:\\temp\\primarywall\\node_modules\\bcrypt',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'C:\\temp\\primarywall\\node_modules\\bcrypt\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\john\.node-gyp\0.8.8
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe". guessing location
gyp verb "Release" dir needed to be created? null
gyp verb copying "node.lib" for x64 C:\Users\john\.node-gyp\0.8.8\Release\node.lib
gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/property:TargetExt=.node',
gyp info spawn args   '/p:Configuration=Release;Platform=x64' ]
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:219:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\temp\primarywall\node_modules\bcrypt
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.6.7
gyp ERR! not ok
npm info [email protected] Failed to exec install script
npm info C:\temp\primarywall\node_modules\bcrypt unbuild
npm verb from cache C:\temp\primarywall\node_modules\bcrypt\package.json
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm verb true,C:\temp\primarywall\node_modules,C:\temp\primarywall\node_modules unbuild [email protected]
npm info postuninstall [email protected]
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
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 their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bcrypt" "--verbose"
npm ERR! cwd C:\temp\primarywall
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm verb exit [ 1, true ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\temp\primarywall\npm-debug.log
npm ERR! not ok code 0

C:\temp\primarywall>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions