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
{{ message }}
Repository navigation
Help needed updating this project to install correctly with nodejs 22 and later #20
I've been working to update my installs of this excellent project and I have it installing on Raspberry Pi OS trixie (the latest version) and nodejs v20, but the install process fails for nodejs v22 and v24.
I'm a bit out of my depth here as this is the only project I use that uses nodejs, npm and pm2.
Any help in advancing compatibility to nodejs version >20 would be welcome.
When using nodejs and trixie, I had to do the following to get the NFC reader recognised by the system:
Create a file /etc/polkit-1/rules.d/60-pcscd.rules with this content:
I've managed to get the project installed with Raspberry Pi OS Trixie and Nodejs 22 by deleting the package-lock.json file and updating package.json to:
However, the requirement to run the project as sudo seems to be caused by the ACR122U reader not being compatible with 64-bit Trixie and isn't easily fixable.
I'm purchasing a newer generation card reader and will see if this works better with 64-bit Trixie...
There seems to be a quirk in Trixie that results in the requirement to run this app with elevated permissions which I can't resolve. I've submitted a pull request #21 for your review, if you'd rather not merge it I understand
Activity
ashenshugarRET commentedon Apr 28, 2026
I've managed to get the project installed with Raspberry Pi OS Trixie and Nodejs 22 by deleting the package-lock.json file and updating package.json to:
However, the requirement to run the project as
sudoseems to be caused by the ACR122U reader not being compatible with 64-bit Trixie and isn't easily fixable.I'm purchasing a newer generation card reader and will see if this works better with 64-bit Trixie...
ashenshugarRET commentedon May 3, 2026
ryanolf commentedon May 3, 2026
Support Raspberry Pi OS Trixie and Node.js 20+ (#22)