npm install element-ui 报错 run `npm audit fix` to fix them, or `npm audit` for details

E:\vue\vue_element>npm install
npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.

audited 30855 packages in 12.173s
found 8 vulnerabilities (1 low, 1 moderate, 5 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

解决:

E:\vue\vue_element>npm audit fix --force
 

猜你喜欢

转载自blog.csdn.net/qq_38233650/article/details/86493132