Hi there
I have got one install of Plexamp for Pi headless working, however I have come to build another and am struggling. I think that the repos with Node in have moved along and we need a recompile of the client.
I am using the latest and greatest raspbian (buster) and following the instructions, it appears that everything works, however when I come to run it it doesn’t register with the server.
using
sudo systemctl status plexamp
I can see that the service continually restarts as the Active line shows that it never runs for longer than a few seconds
To debug this, I have run it at the command line, using
/usr/bin/node /home/pi/plexamp/server/server.prod.js
It throws an error and gives the following info:
/home/pi/plexamp/server/node_modules/bindings/bindings.js:83
throw e
^
Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at bindings (/home/pi/plexamp/server/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/home/pi/plexamp/server/node_modules/serialport/lib/bindings.js:3:35)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
I have run out of skill to correct this, but if it is happening to me, then I am not going to be the only one …
Any chance of some guidance or a new release?
Thanks
Tim