我们已经在使用最新版本的angular(“ @ angular / core”:“〜8.2.5”)。
但是在安装时,npm会给出有关模块版本的一些警告。 请查看上面的控制台结果:
npm WARN angular-pell@0.1.0 requires peer of @angular/common@^5.2.5 but none is installed. You must install peer dependencies yourself.
npm WARN angular-pell@0.1.0 reuqires peer of @angular/core@^5.2.5 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/core@2.4.10 requires peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.
npm警告是什么?
为什么npm提供一些警告?
答案 0 :(得分:-1)
尝试运行npm审核:
npm audit fix