Install Node-red

Hello guys, I have a Rock pi 4B.
I’m trying to install node red but when I run sript it gives me an error in Node.js. Any help, thanks

error:
Bad install:Node.js missing Npm missing - Exit

script:

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)