Mar 6 13:28:41 rpi systemd[1]: Started Plexamp.
Mar 6 13:28:42 rpi node[103716]: internal/modules/cjs/loader.js:1057
Mar 6 13:28:42 rpi node[103716]: return process.dlopen(module, path.toNamespacedPath(filename));
Mar 6 13:28:42 rpi node[103716]: ^
Mar 6 13:28:42 rpi node[103716]: Error: Module did not self-register: '/home/ggm/plexamp/treble/linux-arm64/treble.node'.
Mar 6 13:28:42 rpi node[103716]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
Mar 6 13:28:42 rpi node[103716]: at Module.load (internal/modules/cjs/loader.js:863:32)
Mar 6 13:28:42 rpi node[103716]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Mar 6 13:28:42 rpi node[103716]: at Module.require (internal/modules/cjs/loader.js:887:19)
Mar 6 13:28:42 rpi node[103716]: at require (internal/modules/cjs/helpers.js:74:18)
Mar 6 13:28:42 rpi node[103716]: at Object.32983 (/home/ggm/plexamp/js/index.js:2:351674)
Mar 6 13:28:42 rpi node[103716]: at o (/home/ggm/plexamp/js/index.js:2:1976468)
Mar 6 13:28:42 rpi node[103716]: at Object.90493 (/home/ggm/plexamp/js/index.js:2:345960)
Mar 6 13:28:42 rpi node[103716]: at o (/home/ggm/plexamp/js/index.js:2:1976468)
Mar 6 13:28:42 rpi node[103716]: at Object.59825 (/home/ggm/plexamp/js/index.js:2:331050)
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Main process exited, code=exited, status=1/FAILURE
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Failed with result 'exit-code'.
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Consumed 1.638s CPU time.
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 10.
Mar 6 13:28:42 rpi systemd[1]: Stopped Plexamp.
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Consumed 1.638s CPU time.
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Start request repeated too quickly.
Mar 6 13:28:42 rpi systemd[1]: plexamp.service: Failed with result 'exit-code'.
Mar 6 13:28:42 rpi systemd[1]: Failed to start Plexamp.
Mar 6 13:29:54 rpi systemd[1]: session-2870.scope: Deactivated successfully.
Mar 6 13:29:54 rpi systemd[1]: session-2870.scope: Consumed 1min 40.344s CPU time.
Wrong version of node, needs v16 iirc.
A good answer, but forgive me if I point to this:
https://forums.plex.tv/t/plexamp-for-raspberry-pi-plans-for-newer-node-versions/802769
[elan]
I’m sure we’ll update it at some point, but our main scenario right now
is hw dedicated to headless, so having a slightly outdated node does’t
seem like the end of the world :sweat_smile:
Node v16 has been required since Plexamp 4.5.3.
ha! I missed that inside the release notes! my bad. Oddly, it hasn’t complained until now, or… I had a regression doing apt update/dist-upgrade
Possibly. One of the reasons why on my own headless system I keep a private copy of Node in my home directory and reference it in my Plexamp service file:
ExecStart=/home/username/node-v16/bin/node /home/username/plexamp/js/index.js
…aaaand upgrading to node 16 fixed it. apt remove node 12 was needed, it has some elements of dependency which don’t clear cleanly in a simple in-place upgrade (dependency tracking is bust)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.