You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [email protected]
gyp info using [email protected] | 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.
The text was updated successfully, but these errors were encountered:
I'm trying to install on a Debian 11 distro with Node 16.13
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.
The text was updated successfully, but these errors were encountered: