gyp info it worked if it ends with ok
gyp info using node-gyp@3.0.3
gyp info using node@4.2.6 | linux | x64
gyp info spawn python2
gyp info spawn args [ '/usr/share/node-gyp/gyp/gyp_main.py',
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 '/home/pcmagas/Kwdikas/master_thesis/custom_xmpp/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/share/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pcmagas/.node-gyp/iojs-1.6.2/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pcmagas/.node-gyp/iojs-1.6.2',
gyp info spawn args '-Dnode_gyp_dir=/usr/share/node-gyp',
gyp info spawn args '-Dnode_lib_file=iojs.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pcmagas/Kwdikas/master_thesis/custom_xmpp',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: /home/pcmagas/Kwdikas/master_thesis/custom_xmpp) 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/share/node-gyp/lib/configure.js:354:16)
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 Linux 4.4.0-141-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild" "--target=1.6.2" "--openssl-root=/usr/bin/openssl" "--arch=x64" "--dist-url=https://atom.io/download/electron"
gyp ERR! cwd /home/pcmagas/Kwdikas/master_thesis/custom_xmpp
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Do you know how can recompile my depedency to my electron project so the lib can cooperate with electron?
I installed the library to my electron project:
But I get the following error when I start my application:
Im also tried to rebuild it as seen into this issue I tried to my ubuntu machine having
cd
first to my project's folder:And I got the following error:
Do you know how can recompile my depedency to my electron project so the lib can cooperate with electron?