【问题标题】:what is har-validator and how can i resolve this什么是 har-validator,我该如何解决这个问题
【发布时间】:2021-08-18 21:37:00
【问题描述】:
C:\Users\21vde>npm install -g @angular/cli
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm ERR! code EEXIST
npm ERR! path C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.bin\uuid.ps1
npm ERR! Refusing to delete C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.bin\uuid.ps1: is outside C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\uuid and not a link
npm ERR! File exists: C:\Users\21vde\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\.bin\uuid.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

【问题讨论】:

    标签: node.js angular npm


    【解决方案1】:

    According to the Angular team,在 Angular 12 中已解决。

    您可以在此Angular GitHub issue 中找到更多详细信息。

    【讨论】:

      猜你喜欢
      • 2015-06-13
      • 1970-01-01
      • 2020-03-25
      • 2020-02-14
      • 1970-01-01
      • 2021-10-23
      相关资源
      最近更新 更多