【 element-angular】版本的 依赖模块版本号 低于 "4.0.0"

遇到的问题: 

三个WARN提示。需要升级的 npm管理的 【 element-angular】版本的 依赖模块版本号 低于 "4.0.0".(@angular/core@>=4.0.0,@angular/animations@>=4.0.0)

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm i --save element-angular -g

npm WARN element-angular@0.7.6 requires a peer of @angular/core@>=4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN element-angular@0.7.6 requires a peer of @angular/animations@>=4.0.0 but none is installed. You must install peer dependencies yourself.

问题出现的现象:

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm i --save element-angular -gnpm WARN element-angular@0.7.6 requires a peer of @angular/core@>=4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN element-angular@0.7.6 requires a peer of @angular/animations@>=4.0.0 but none is installed. You must install peer dependencies yourself.

+ element-angular@0.7.6
added 1 package from 1 contributor in 2.056s

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm uninstall -g @angular/cli
up to date in 0.036s

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm uninstall -g @angular/cor
up to date in 0.037s

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm uninstall -g @angular/core
up to date in 0.035s

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm install -g @angular/core@latest
npm WARN @angular/core@9.0.6 requires a peer of rxjs@^6.5.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/core@9.0.6 requires a peer of tslib@^1.10.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/core@9.0.6 requires a peer of zone.js@~0.10.2 but none is installed. You must install peer dependencies yourself.

+ @angular/core@9.0.6
added 1 package from 1 contributor in 31.568s

F:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm install -g rxjs@latest
+ rxjs@6.5.4
added 2 packages from 7 contributors in 6.12s

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值