Description
After trying to upgrade to RC4.2 and following the npm-stuff during update process we run into an issue with starting the server:
systemctl status rocketchat
● rocketchat.service - The Rocket.Chat server
Loaded: loaded (/lib/systemd/system/rocketchat.service; enabled; vendor preset: enabled)*
Active: failed (Result: exit-code) since Mon 2021-11-29 07:13:31 CET; 9s ago*
Process: 26751 ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js (code=exited, status=1/FAILURE)*
Main PID: 26751 (code=exited, status=1/FAILURE)*
We find out, that 2 versions of node seems to be installed!?
/usr/local/bin/node -v
v12.22.1
/usr/bin/node --version
v10.24.0
How can we get rid of or solve the follwing npm message?