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
4 Replies
I would be surprised if this was an issue with the node/npm version. More likely your internet connection.
But I have not tested with v22. Our automated testing runs on 16/18/20
I just did "npm pack signalk-server" and it downloaded in less than a second (500Mb internet connection) but I will try an offline install. If that doesn't work I will revert to v20.
I'm getting an error trying to find that version. Did you mean node v16.20.2?
No
v16 and v18 and v20
pack is just the server files, not all the dependencies
Got it.