pokusew / node-pcsclite

Bindings over pcsclite to access Smart Cards
ISC License
59 stars 55 forks source link

Changed the nan require, this fix some building errors in certain linux distributions (E.g. Arch Linux) #14

Closed Codetector1374 closed 6 years ago

Codetector1374 commented 6 years ago

This fixes this issue: gyp: Call to 'node -e "require('nan')"' returned exit status 0 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/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336: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.14.11-1-ARCH

Codetector1374 commented 6 years ago

Hum.. sorry, mistake... Reopening another one...