upgrade node to the latest stable release code example
Example 1: upgrade node version
nvm install v12.16.2
Example 2: how to upgrade node.js
#linux
sudo npm install n -g
sudo n stable
#windows
#install the .msi from https://nodejs.org/en/download/