I update my npm version to 6.9.0, after that i can't create react app. most of the commands are not working. so i uninstall the node js and reinstall that (latest version). when i try node --version
it show version as v6.4.0
and npm version as 6.9.0
but i want to change node version to 10.15.3 and npm version as 6.4.1
how to fix this issue
The issue is that you have a second Node (v6.4.0) installation under /Users/gowtham/.nvm/
.
Just remove that directory.
rm -r /Users/gowtham/.nvm/
Like Zuriel suggests below, using nvm
to switch the version of Node used or switching back to the system version are other options.