SK install on node 22.5.0?
Hello all, I am having issues installing SK on a couple of RPIs. First I tried installing on a Pi Zero 2W with Debian 12 Lite (Bookworm, no desktop) and
sudo npm install -g signalk-server
didn't complete after 14 hours (there were some warnings but nothing that looked like a real error).
I assumed it was because of swap because the vmem for npm was very high and the Zero has only 512MB, so I tried on my pihole (RPI 4, Bookworm lite, 1GB) and that had the same issue but eventually completed (tail of error log below). I'm wondering if I should downgrade node or npm to a different version, or if anyone has other ideas.
3134 verbose node v22.5.0
3135 verbose npm v10.8.2
3136 error Exit handler never called!
3137 error This is an error with npm itself. Please report this error at:
3138 error https://github.com/npm/cli/issues
3139 verbose exit 0
3140 info ok
sudo npm install -g signalk-server
didn't complete after 14 hours (there were some warnings but nothing that looked like a real error).
I assumed it was because of swap because the vmem for npm was very high and the Zero has only 512MB, so I tried on my pihole (RPI 4, Bookworm lite, 1GB) and that had the same issue but eventually completed (tail of error log below). I'm wondering if I should downgrade node or npm to a different version, or if anyone has other ideas.
3134 verbose node v22.5.0
3135 verbose npm v10.8.2
3136 error Exit handler never called!
3137 error This is an error with npm itself. Please report this error at:
3138 error https://github.com/npm/cli/issues
3139 verbose exit 0
3140 info ok