简体   繁体   中英

Unable to uninstall node.js from my windows 10

在此处输入图像描述 Getting this issue while iam uninstalling node.js from programs and features.

You can try running npm cache clean --force

Then clean these directories

  • C:\Program Files (x86)\Nodejs
  • C:\Program Files\Nodejs
  • C:\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-*

Remove it from environment variables
Try rebooting


or you can read this blog for some different methods here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM