vue构建项目执行npm install初始化后报错 run `npm audit fix` to fix them, or `npm audit` for details

今天构建vue项目执行npm install初始化后报错
run npm audit fix to fix them, or npm audit for details
vue构建项目执行npm install初始化后报错 run `npm audit fix` to fix them, or `npm audit` for details_第1张图片

解决办法:

第一种(跳过特定警告和审核漏洞)

输入:

跳过特定警告或审核漏洞,可以在命令后面添加 --no-optional 标志

npm install --no-optional

第二种(只想跳过警告,而不是跳过所有依赖项的安装,你可以添加 --quiet 或 -q 标志:)

输入:

npm install --quiet

npm install -q

你可能感兴趣的:(vue.js,npm,前端,vscode)