用ctrl+r切换到对象的目录,以管理圆的身份执行

 

  1. npm cache clean first.

  2. If that doesn’t fix things, take a look in %APPDATA%\npm-cache, or if you’re using PowerShell, $env:APPDATA\npm-cache.

After cleaning the cache, you may still be left with remnants. Manually remove everything in that directory, and try again. This has always fixed things for me.

As @Crazzymatt was mentioning, as of MPM 5 version, we need to use npm cache verify instead of npm cache clean. Or else you will get an error as preceding.

 

https://stackoverflow.com/questions/22325031/npm-please-try-using-this-command-again-as-root-administrator

相关文章:

  • 2021-12-17
  • 2022-12-23
  • 2022-01-19
  • 2022-01-06
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-09
  • 2021-04-28
  • 2022-01-14
  • 2021-11-25
  • 2022-01-10
  • 2021-06-25
相关资源
相似解决方案