Node v10 is the newest version available in our OS package repositories.
If you need a newer version of Node you can install it in your home directory like so:
mkdir -p ~/opt/src
tar xf src/node-v14.16.1-linux-x64.tar.xz --strip 1
When that's done, the newer node and npm will be installed at
To use it interactively first run:
To use it in your apps, edit your app's start script to run
/home/username/opt/bin/node instead of the system node.
If your nvm setup is working for you then feel free ignore the above and use what you've got instead.
If your old default Node app is still running then run
pgrep -a -f node to find it's process ID, then kill that process by running
kill NNNNN (replacing NNNNN with the process ID). Or, if you've got only one node app running, you can do
If Strapi runs on port 1337 by default, then you will need to configure it to listen on your Node app's assigned port. There's example config showing where the port is set at: https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/configurations.html#server.
You'll almost certainly need to stop and restart your app after changing the port in its config.