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

rebuild serial port on linux #114

Closed
mishkeTz opened this issue Dec 8, 2017 · 2 comments
Closed

rebuild serial port on linux #114

mishkeTz opened this issue Dec 8, 2017 · 2 comments

Comments

@mishkeTz
Copy link

mishkeTz commented Dec 8, 2017

I am trying to rebuild serialport for linux 64.

I ran this command:

sudo nw-gyp rebuild --runtime=node-webkit --target=0.25.4 --target_arch=x64

gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp info spawn /usr/bin/python2 gyp info spawn args [ '/usr/local/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 '/home/mishke/Desktop/merrex64/node_modules/serialport/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 '/home/mishke/.nw-gyp/0.25.4/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/mishke/.nw-gyp/0.25.4', gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/nw-gyp', gyp info spawn args '-Dnode_lib_file=/home/mishke/.nw-gyp/0.25.4/<(target_arch)/node.lib', gyp info spawn args '-Dnw_lib_file=/home/mishke/.nw-gyp/0.25.4/<(target_arch)/nw.lib', gyp info spawn args '-Dmodule_root_dir=/home/mishke/Desktop/merrex64/node_modules/serialport', 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=.' ] /bin/sh: 1: ./content/nw/tools/sysroot_ld_path.sh: not found gyp: Call to './content/nw/tools/sysroot_ld_path.sh /home/mishke/Desktop/merrex64/node_modules/serialport/build/linux/debian_jessie_amd64-sysroot' returned exit status 127 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gypfailed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/nw-gyp/lib/configure.js:359:16) gyp ERR! stack at ChildProcess.emit (events.js:159:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) gyp ERR! System Linux 4.10.0-40-generic gyp ERR! command "/usr/local/bin/node" "/usr/local/bin/nw-gyp" "rebuild" "--runtime=node-webkit" "--target=0.25.4" "--target_arch=x64" gyp ERR! cwd /home/mishke/Desktop/merrex64/node_modules/serialport gyp ERR! node -v v9.2.0 gyp ERR! nw-gyp -v v3.6.2 gyp ERR! not ok

What am I doing wrong here?

@rogerwang
Copy link
Member

This should be a duplicate of nwjs/nw.js#5971 which was fixed.

@rogerwang
Copy link
Member

Please ask for reopening if it's not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants