Upgrade Your Node.Js To Latest Version

Go to the Node.Js official website and download the file from this link website link . Download the file and run it like you do .You don't need to uninstall your previous node from your computer. If you uninstall and then reinstall it then you will face some serious issues. So Download Node JS and just run it and it will automatically replace all files and you will get a fresh Node JS.

After instlling Node JS check version

node -- v
npm -- v