简体   繁体   中英

npm vulnerability fixes require Angular 7, but will cause more issues in Ionic 3 project

So I have an question regarding my Ionic 3 project. Using npm audit there are 10 vulnerabilities requiring fixes, but both fixes require Angular 7 and I know Ionic 3 is only compatible with Angular 5 .

My question is, is there a way to resolve these vulnerabilities without upgrading Angular. So instead downgrade a plugin or possibly finding the root cause of the issue? Or can I ignore the vulnerabilities?

Here are the npm messages:

Run npm install @angular/compiler-cli@7.2.14 to resolve 2 vulnerabilities SEMVER WARNING: Recommended action is a potentially breaking change

Run npm install @angular/cli@7.3.8 to resolve 7 vulnerabilities SEMVER WARNING: Recommended action is a potentially breaking change

试试这个,删除node_modeules所有文件并运行npm install然后记下需要angular 7的包。然后直接对t执行操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM