Skip to content

Instantly share code, notes, and snippets.

@xiaok
Created July 18, 2013 01:36
Show Gist options
  • Save xiaok/6026051 to your computer and use it in GitHub Desktop.
Save xiaok/6026051 to your computer and use it in GitHub Desktop.
node-webkit c++ addon rebuild error
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn python
gyp info spawn args [ '/Users/xlaok/.nw-gyp/0.6.2/tools/gyp/gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/xlaok/joymap/svgTools/node_modules/svg2png/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/nw-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/xlaok/.nw-gyp/0.6.2/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/xlaok/.nw-gyp/0.6.2',
gyp info spawn args '-Dmodule_root_dir=/Users/xlaok/joymap/svgTools/node_modules/svg2png',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: /Users/xlaok/joymap/svgTools/node_modules/svg2png) 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 (/usr/local/lib/node_modules/nw-gyp/lib/configure.js:406:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784:12)
gyp ERR! System Darwin 12.2.1
gyp ERR! command "node" "/usr/local/bin/nw-gyp" "rebuild" "--target=0.6.2"
gyp ERR! cwd /Users/xlaok/joymap/svgTools/node_modules/svg2png
gyp ERR! node -v v0.10.5
gyp ERR! nw-gyp -v v0.7.3-4
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment