It's very difficult to get an Rpi5 at the moment. Was lucky and was able to get one. With the Rpi5, access to the GPIO is different. I'm in the process of adapting my nodes for the Rpi5. But unfortunately there is little information and examples about it.
Of course after installing npm manually everything worked fine,
but it's interesting why the script isn't checking if npm is installed?
Edit:
at the end of the install this happened in my SSH terminal:
Would you like to customise the settings now (y/N) ? y
Node-RED Settings File initialisation
=====================================
This tool will help you create a Node-RED settings file.
? Settings file ‣ /home/pi/.node-red/settings.js
and it just stopped there. Did not get the cursor back.
No settings.js file was created.
Well - obviously it IS checking - and not finding it... which usually only happens if nodejs is not correctly installed as npm is part of the nodejs install. How did you install nodejs ? and which version of npm did you end up installing (and how?)
Thanks
yeah that is the one from the debian repo not the nodesource repo, which doesn't come with npm...). Not sure why that got installed in the first place.