Update Engine versions


#1

Hello,
the latest version of Rocket.Chat uses Node: 8.11.4, NPM: 6.4.0
my versions are Node: 8.9.3, NPM: 5.5.1

I have updated my versions by running these commands:

n 8.11.4
npm install npm@6.4.0 -g

My question is, is it enough or I need do something more?


#2

Sounds like n isn’t updating nodejs. Try typing: which node


#3

/usr/local/bin/node
also I have checked this:
# node -v
v8.11.4
# npm -v
6.4.0
# nodejs -v
v8.10.0

how should I update nodejs?


#4

Do you type node main.js or nodejs main.js to start Rocket.Chat? If you use the former… no need to do more


#5

I start my Rocket.Chat with node main.js