Plexamp Headless Raspberry Pi 5 ERROR

Just upgraded to a Raspberry Pi5, and getting this error:
(works on my Pi4)

pi@pi5:~/plexamp $ node js/index.js
node:internal/modules/cjs/loader:1302
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: Module did not self-register: '/home/pi/plexamp/treble/linux-arm64/treble.node'.
    at Module._extensions..node (node:internal/modules/cjs/loader:1302:18)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at 32983 (/home/pi/plexamp/js/index.js:2:408700)
    at a (/home/pi/plexamp/js/index.js:2:3313864)
    at 90493 (/home/pi/plexamp/js/index.js:2:402859)
    at a (/home/pi/plexamp/js/index.js:2:3313864)
    at 59825 (/home/pi/plexamp/js/index.js:2:387070) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.13.0

not a pi5-specific issue … 18 is default node version for current Pi OS, and Plexamp headless uses node 16 … you’ll need to either downgrade to node 16 manually or reinstall headless using one of the available install scripts that takes care of this for you

2 Likes

Thanks,. Been awhile since I installed on the Pi4 (Bullseye), and I thought I had to upgrade node to v16 back then. Saw the Pi5 (Bookworm) was on node v18, knew Plexamp headless needed node v16, but thought it was >= v16, didn’t even consider a downgrade of node was needed.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.