Markoudstaal / node-red-contrib-discord-advanced

Recieve, send, edit and delete Discord messages in node-red.
MIT License
46 stars 16 forks source link

Can't install this node with a "standard" setup for pi (Node v14 is installed) #31

Closed vico93 closed 2 years ago

vico93 commented 2 years ago

I've installed Node-RED using the bash script provided by the official site, but this installs node v14 (in the docs still says v12), and nothing other version.

But when i tried to install this node using the Web UI it failed and the logs said it needs node v16. I'm afraid to update manually node to v16 and break something (i'm an expert in braking things already stable in my Pi). If the official script requires specifically v14 (maybe due some quirk in Pi 3b+, i dont know).

Is there any option left for me?

Markoudstaal commented 2 years ago

It's weird that it installed v14. It should install the latest LTS which is 16.15LTS. Your best bet would be to manually update nodejs. Other option, if you are that scared of breaking stuff, is to get into using docker containers. You could install a node-red container that has nodejs 16 in it. That way you can't break your OS, if that's what you're scared off.

javis86 commented 2 years ago

I open the raw for the script and there is a option in it for installation of node-red with node js 16 (https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

image

javis86 commented 2 years ago

image This is the reason beacuse you have node 14