npm install
之后出现让你 run npm audit fix
to fix them, or npm audit
for details
你可以:
1. npm audit fix
2. npm audit fix --force
3. npm audit
按照顺序一一运行
如果输入
npm audit fix
没有用,可以 加上sudo权限,三条都要加上
sudo npm audit fix
如果还不行就
删除node_modules和package-lock.json
执行这句清理缓存
npm cache clean --force
再执行 npm install