There is no need to panic if your node.js version is wrong or if you need to deep clean.
Follow these steps:
- Calm down and take a deep breath.
- From your shell environment, run the command -
npm cache clean --force - From the operating system, carry out an uninstall with the uninstaller.
- Reboot the machine.
- Find these folders and remove them and all the contents if they exist.
Some of them may or may not exist:
C:\Program Files (x86)\NodejsC:\Program Files\NodejsC:\Users\{User}\AppData\Roaming\npm(or%appdata%\npm)C:\Users\{User}\AppData\Roaming\npm-cache(or%appdata%\npm-cache)C:\Users\{User}\.npmrc(and possibly check for that without the.prefix too)C:\Users\{User}\AppData\Local\Temp\npm-*
- Confirm that the
%PATH%environment variable has no references toNodejsornpmexist. - If node is still there, type
where nodeat the command prompt and you can locate where it resides -- delete all the folders. - Reboot your machine again.
Comments