Npm - run `npm audit fix` to fix them, or `npm audit` for details

第一种解决办法

npm audit fix
npm audit fix --force
npm audit

第二种解决办法

删除已经安装的:node_modules 和 package-lock.json
修改 package.json 格式如下
npm audit fix --force
npm install

猜你喜欢

转载自blog.csdn.net/Dream_Weave/article/details/106680278