什么是 har-validator,我该如何解决这个问题

时间:2021-05-31 14:58:03

标签: node.js angular npm

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.

1 个答案:

答案 0 :(得分:0)

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

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