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

标签 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.

最佳答案

According to the Angular team ,它在 Angular 12 中得到解决。

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

关于node.js - 什么是 har-validator,我该如何解决这个问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67776120/

相关文章:

Angular 2 管道条件下

javascript - 以 Angular 方式将 json 导出到 xlsx

node.js - 在启动时将前端文件构建到 Node.js Express 项目中

php - 如何使用nodejs设置HTTP服务器进行日志记录?

javascript - 使用 Passport-ldap 时不断收到错误请求

javascript - someEmptyArray.push(data) 之后数组的索引 0 未定义

node.js - 在只知道链接文本的情况下从 Nodejs 结果获取 URL 的最佳方法

typescript - 来自 Injectable 的 Angular 2 访问组件

node.js - 使用 Grunt-babelify-browserify 而不导入 Node 模块

javascript - 如何从 Node.js 中的远程库扩展 `Array.prototype`?