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

erro install electron app and build native #91

Closed
fzanfolim opened this issue Oct 23, 2019 · 2 comments · Fixed by pokusew/node-pcsclite#27
Closed

erro install electron app and build native #91

fzanfolim opened this issue Oct 23, 2019 · 2 comments · Fixed by pokusew/node-pcsclite#27
Assignees
Labels
compatibilty: Node.js 11+ Issues related to the incompatibility with the current Node.js versions

Comments

@fzanfolim
Copy link

when installing lib pokusew / nfc-pcsc and running the electron project, I got the error: (node_modules/@pokusew/pcsclite/build/Release/pcsclite.node '
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing.
the module (for instance, using npm rebuild or npm install).
at process.func (electron / js2c / asar.js: 138)
at process.func [as dlopen] (electron / js2c / asar.js: 138)
at Object.Module._extensions..node (internal / modules / cjs / loader.js: 828)
at Object.func (electron / js2c / asar.js: 138)
at Object.func [as .node] (electron / js2c / asar.js: 138)
at Module.load (internal / modules / cjs / loader.js: 645)
at Function.Module._load (internal / modules / cjs / loader.js: 560)
at Module.require (internal / modules / cjs / loader.js: 685)
at require (internal / modules / cjs / helpers.js: 16)
at bindings (/Users/felipezanfoli…ngs/bindings.js:112)), so I run the electron build: ./node_modules/.bin/electron-rebuild and there is an error in the command as per attachment.

Captura de Tela 2019-10-23 às 00 18 27

@betrri
Copy link

betrri commented Nov 8, 2019

Those Handle objects were removed/renamed with newer versions of v8 javascript engine. I recommend using this repo instead: https://github.com/ap-mitch/nfc-pcsc#readme

@pokusew pokusew added the compatibilty: Node.js 11+ Issues related to the incompatibility with the current Node.js versions label Jan 23, 2020
@pokusew pokusew self-assigned this Jan 25, 2020
@pokusew
Copy link
Owner

pokusew commented Jan 26, 2020

@fzanfolim @betrri Fixed and released in version 0.8.0. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibilty: Node.js 11+ Issues related to the incompatibility with the current Node.js versions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants