Shruti sharma
Shruti sharma

Reputation: 211

React is not getting uninstalled in windows

I am not able to uninstall react app in windows 10. I tried everything which is in stackoverflow but it is not getting uninstalled. I am using npm . Even I removed nodejs, still it is not working.

I actually need to use latest version so when I installed nodejs and react again it is still picking old version of reacr and then app is not running. something really weird

enter image description here

enter image description here

Upvotes: 0

Views: 1000

Answers (1)

suppaGonzalo
suppaGonzalo

Reputation: 107

  1. Run npm cache clean --force
  2. Uninstall from Programs & Features with the uninstaller.
  3. Reboot (or you probably can get away with killing all node-related processes from Task Manager).
  4. Look for these folders and remove them (and their contents) if any still exist. Depending on the version you installed, UAC settings, and CPU architecture, these may or may not exist:
    1. C:\Program Files (x86)\Nodejs
    2. C:\Program Files\Nodejs
    3. C:\Users{User}\AppData\Roaming\npm (or %appdata%\npm)
    4. C:\Users{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache)
    5. C:\Users{User}.npmrc (and possibly check for that without the . prefix too)
    6. C:\Users{User}\AppData\Local\Temp\npm-*
  5. Check your %PATH% environment variable to ensure no references to Nodejs or npm exist.
  6. If it's still not uninstalled, type where node at the command prompt and you'll see where it resides -- delete that (and probably the parent directory) too.
  7. Reboot, for good measure.

Upvotes: 1

Related Questions