遇到的问题:
三个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.056sF:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm uninstall -g @angular/cli
up to date in 0.036sF:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm uninstall -g @angular/cor
up to date in 0.037sF:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm uninstall -g @angular/core
up to date in 0.035sF:\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.568sF:\WorkSpace\vToonVProductWK\exportV3ProjectSource\v3project_modul2>npm install -g rxjs@latest
+ rxjs@6.5.4
added 2 packages from 7 contributors in 6.12s