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

Can't seem to run this on ARM / Raspberry Pi 3 #107

Closed
Fossil01 opened this issue Nov 16, 2020 · 1 comment
Closed

Can't seem to run this on ARM / Raspberry Pi 3 #107

Fossil01 opened this issue Nov 16, 2020 · 1 comment

Comments

@Fossil01
Copy link

Hi,

My app runs fine on Mac or Linux x86 but I am trying to get it to work on a Raspberry Pi. I am using the same Node version as on my Mac (v14.15.0) , installed pcscd, libpcsclite-dev, libpcsclite1 (all version 1.8.26) and started pcscd. But when I run it I get this error:

/home/USERNAME/git/node_modules/@pokusew/pcsclite/lib/pcsclite.js:46
	const p = new PCSCLite();
	          ^

Error: SCardEstablishContext error: RPC transport error.(0x80100013)
    at module.exports (/home/USERNAME/git/node_modules/@pokusew/pcsclite/lib/pcsclite.js:46:12)
    at new NFC (/home/USERNAME/git/node_modules/nfc-pcsc/dist/NFC.js:28:39)
    at Object.<anonymous> (/home/USERNAME/git/main.js:75:15)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47
@Fossil01
Copy link
Author

I was using a snap package to install the correct node version, which turns out is not fully supported in my specific case. After installing the NodeSource repo and re-installing Node everything worked.

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

1 participant