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

Install failed on debian 11, node 16 #121

Open
arkabase opened this issue Dec 1, 2021 · 1 comment
Open

Install failed on debian 11, node 16 #121

arkabase opened this issue Dec 1, 2021 · 1 comment

Comments

@arkabase
Copy link

arkabase commented Dec 1, 2021

I'm trying to install on a Debian 11 distro with Node 16.13

$ yarn add nfc-pcsc
yarn add v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /home/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.0
gyp info using node@16.13.0 | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/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/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/arkabox/.cache/node-gyp/16.13.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/arkabox/.cache/node-gyp/16.13.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/arkabox/.cache/node-gyp/16.13.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite',
gyp info spawn args   '-Dnode_engine=v8',
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 info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make : on entre dans le répertoire « /home/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite/build »
  CXX(target) Release/obj.target/pcsclite/src/addon.o
make: g++: Aucun fichier ou dossier de ce type
make: *** [pcsclite.target.mk:131 : Release/obj.target/pcsclite/src/addon.o] Erreur 127
make : on quitte le répertoire « /home/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite/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/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.10.0-9-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/arkabox/arkabox-nfc/node_modules/@pokusew/pcsclite
gyp ERR! node -v v16.13.0
gyp ERR! node-gyp -v v8.4.0
gyp ERR! not ok

I can say I already installed it on a Raspberry Pi OS (Debian 10) also with Node 16.13, without trouble, so it's not a problem with Node version.

@404invalid-user
Copy link

did you find a fix?

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