Reprinted: run `npm audit fix` when npm mounting solutions to fix them, or` npm audit` for details

Reprinted from: https://blog.csdn.net/qq_39165556/article/details/89333028

1, the first solution

1 npm audit fix
2 npm audit fix --force
3 npm audit

2, the second solution

1  Remove installed: node_modules-lock.json and Package
 2  modified package.json format
 . 3  NPM Audit FIX --force
 . 4 NPM Instal

 

Reprinted from: https://blog.csdn.net/qq_39165556/article/details/89333028

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I added:

VsCode command terminal: to project into the path performed. For example, the project called testDemo:

1 PS D:\vsCode\testDemo npm install

 

Guess you like

Origin www.cnblogs.com/mySummer/p/11104565.html