Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--compile fails to compile bcrypt #44

Closed
s-a opened this issue Aug 8, 2015 · 0 comments
Closed

--compile fails to compile bcrypt #44

s-a opened this issue Aug 8, 2015 · 0 comments

Comments

@s-a
Copy link
Owner

s-a commented Aug 8, 2015

ref #38

git clone --depth=1 https://github.com/ncb000gt/node.bcrypt.js.git c:\git\electron-recompile\tmp\bcrypt@0.8.4
Cloning into 'c:\git\electron-recompile\tmp\bcrypt@0.8.4'...
cd c:\git\electron-recompile\tmp\bcrypt@0.8.4 && set HOME=electron-gyp && node-gyp rebuild --target=0.30.2 --arch=ia32 --dist-url=https://atom.io/download/atom-shell
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.2
gyp info using node@0.12.6 | win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.30.2/node-v0.30.2.tar.gz
gyp http 200 https://atom.io/download/atom-shell/v0.30.2/node-v0.30.2.tar.gz
gyp http GET https://atom.io/download/atom-shell/v0.30.2/SHASUMS256.txt
gyp http GET https://atom.io/download/atom-shell/v0.30.2/node.lib
gyp http GET https://atom.io/download/atom-shell/v0.30.2/x64/node.lib
gyp http 200 https://atom.io/download/atom-shell/v0.30.2/SHASUMS256.txt
gyp http 200 https://atom.io/download/atom-shell/v0.30.2/x64/node.lib
gyp http 200 https://atom.io/download/atom-shell/v0.30.2/node.lib
gyp info spawn c:\python27\python.exe
gyp info spawn args [ 'C:\\Users\\Stephan\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
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=auto',
gyp info spawn args   '-I',
gyp info spawn args   'c:\\git\\electron-recompile\\tmp\\bcrypt@0.8.4\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\Stephan\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'c:\\git\\electron-recompile\\tmp\\bcrypt@0.8.4\\electron-gyp \\.node-gyp\\0.30.2\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=c:\\git\\electron-recompile\\tmp\\bcrypt@0.8.4\\electron-gyp \\.node-gyp\\0.30.2',
gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\Stephan\\AppData\\Roaming\\npm\\node_modules\\node-gyp',
gyp info spawn args   '-Dmodule_root_dir=c:\\git\\electron-recompile\\tmp\\bcrypt@0.8.4',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'c:\\git\\electron-recompile\\tmp\\bcrypt@0.8.4\\build',
gyp info spawn args   '-Goutput_dir=.' ]
module.js:338

    throw err;

          ^

Error: Cannot find module 'nan'

    at Function.Module._resolveFilename (module.js:336:15)

    at Function.Module._load (module.js:278:25)

    at Module.require (module.js:365:17)

    at require (module.js:384:17)

    at [eval]:1:1

    at Object.exports.runInThisContext (vm.js:74:17)

    at Object.<anonymous> ([eval]-wrapper:6:22)

    at Module._compile (module.js:460:26)

    at evalScript (node.js:431:25)

    at startup (node.js:90:7)

gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (C:\Users\Stephan\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:357:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Users\\Stephan\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--target=0.30.2" "--arch=ia32" "--dist-url=https://atom.io/download/atom-shell"
gyp ERR! cwd c:\git\electron-recompile\tmp\bcrypt@0.8.4
gyp ERR! node -v v0.12.6
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
Failed to compile : bcrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant