Not working for me
marcobraghim opened this issue · comments
I'm actually really confuse about which version I have to inform in the --target arg. See what I get running the command below...
$ nw-gyp rebuild --target=0.13.0 --arch=x64
Produces:
gyp info it worked if it ends with ok
gyp info using nw-gyp@3.6.3
gyp info using node@8.10.0 | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/lib/node_modules/nw-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 '/var/www/basetchup/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/nw-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pedepano/.nw-gyp/0.13.0/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pedepano/.nw-gyp/0.13.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/nw-gyp',
gyp info spawn args '-Dnode_lib_file="/home/pedepano/.nw-gyp/0.13.0/<(target_arch)/node.lib"',
gyp info spawn args '-Dnw_lib_file="/home/pedepano/.nw-gyp/0.13.0/<(target_arch)/nw.lib"',
gyp info spawn args '-Dmodule_root_dir=/var/www/basetchup',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '-Dv13=1',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/var/www/basetchup/build'
make: *** No rule to make target 'Release/obj.target/binding/src/binding.o', needed by 'Release/obj.target/binding.node'. Pare.
make: Leaving directory '/var/www/basetchup/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/nw-gyp/lib/build.js:261:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.9.0-6-amd64
gyp ERR! command "/usr/bin/node" "/usr/bin/nw-gyp" "rebuild" "--target=0.13.0" "--arch=x64"
gyp ERR! cwd /var/www/basetchup
gyp ERR! node -v v8.10.0
gyp ERR! nw-gyp -v v3.6.3
gyp ERR! not ok