出现这个错误的时候,以为是权限不够的原因,后来用管理员权限执行也不行。

最后发现可能是node_modules被哪个程序占用了,用win10的新方式搜索一下

在任务管理器里点击下面红框

npm install uninstall报错:ENOENT: no such file or directory

搜索node_modules,找到使用的程序右键终止程序即可。

npm install uninstall报错:ENOENT: no such file or directory

相关文章:

  • 2022-12-23
  • 2021-07-21
  • 2021-05-28
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
猜你喜欢
  • 2021-10-10
  • 2021-10-28
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案