After “bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)”,
error during installation “Bad install: Node.js v18.7.0 Npm missing – Exit cache”
Hi.
It seems you don’t have npm installed.
Runt the following command:
npm install npm@latest -g
Then check the version of npm installed with
npm -v
Let me know if this solves the issue.
Regards,
Sara
Yes, it works.
First installed npm, i.e. “sudo apt install npm” for Ubuntu 22.04, then “bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)” as described for Paspberry Pi, – and now node-red is OK. Mthanks Sara!
WBR, Igors