[SOLVED] Help required updating nodejs on Raspberry Pi 4B - Bare Metal (without Docker)
-
I've recently updated to latest build 21332 and notice in the Readme file that I should update nodejs to 16.13.0 or higher before end of March. I've had a go at doing this, but think I've not done it correctly as I get the following responses in the terminal:
pi@raspberrypi:~ $ node -v
v14.17.0
pi@raspberrypi:~ $ nodejs -v
v16.13.0Is this correct? If not then what steps do I need to carry out to update nodejs properly.
Any help from the group would be much appreciated.
-
Yeah, not correct. I don't know what procedure you followed, but the install script (in
tools
) for the RPi is safe to run any time and will install an updated version for you. Log out and back in after updating.If you're already running Reactor under systemd, you will need to modify the path to the node binary in your
/etc/systemd/system/reactor.service
file, or copy the updatedreactor.service
file from thetools
subdirectory to/etc/systemd/system
(either requires root permissions).Kudos on the excellent topic title.
-
T toggledbits locked this topic on