暴力删除nodejs导致无法重新安装  Later version of Node.js is already installed. Setup will now exit

  1、电脑全局搜索nodejs,保证node相关不存在

  2、修改“环境变量”: 删除path值中的node及npm

  3、重启

  4、安装node成功

 

  node与npm版本不符

  1、找到 C:\Users\lenovo\AppData\Roaming 下的npm、npm-cache文件

  2、此时 node -v 及 npm -v 版本已纠正

相关文章:

  • 2021-06-01
  • 2021-04-22
  • 2022-12-23
  • 2021-09-11
  • 2022-02-15
  • 2022-12-23
  • 2021-11-02
  • 2021-12-25
猜你喜欢
  • 2021-04-22
  • 2021-04-06
  • 2022-12-23
  • 2021-05-22
  • 2021-11-17
  • 2021-07-14
  • 2022-12-23
相关资源
相似解决方案