首页 > 解决方案 > 当我尝试安装@angular-cli 时,我收到以下警告

问题描述

在安装@angular-cli时收到这些警告。这些是严重的问题还是我遗漏了什么?

   npm WARN deprecated har-validator@5.1.5: this library is no longer supported
   npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
   npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)

标签: node.jsnpmnpm-installnpm-request

解决方案


尝试 sudo npm install -g @angular/cli


推荐阅读