文章目录

  • npm install 报错:found XXX vulnerabilities (XXX low, X moderate),run `npm audit fix` to fix them, or `npm audit` for details
    • `Process` 产生场景
    • `Process` 解决

npm install 报错:found XXX vulnerabilities (XXX low, X moderate),run npm audit fix to fix them, or npm audit for details


如果觉得本文对你有帮助,可以一键三连支持,谢谢

Process 产生场景


Git 拉取项目,然后 npm i 装包,然后报错

found 5546 vulnerabilities (5546 low, 4 moderate)run `npm audit fix` to fix them, or `npm audit` for details

Process 解决


执行 npm audit fix

没用,然后执行 npm cache clean --force 清除缓存,并删掉 node_modules
检查 package.json 文件,如果缺少 ,则执行 npm init -y

然后把包装回来 npm i,然后 npm run build,项目成功运行

本文地址 https://wretchant.blog.csdn.net/article/details/118092981
博客地址 https://wretchant.blog.csdn.net/

npm install 报错:found XXX vulnerabilities (XXX low, X moderate),run `npm audit fix` to fix them, or `相关推荐

  1. npm install 报错 Failed at the XXX install script

    使用 --ignore-scripts 安装 (先把某个报错的包单独安装) npm install realm@2.1.0 --ignore-scripts

  2. npm install 报错 Failed at the XXX install script

    npm ERR! Failed at the realm@2.29.1 install script npm ERR! This is probably not a problem with npm. ...

  3. npm install 报错:ERR! code EINTEGRITY 解决方案

    npm install 报错:ERR! code EINTEGRITY 解决方案 参考文章: (1)npm install 报错:ERR! code EINTEGRITY 解决方案 (2)https: ...

  4. npm install 报错: WARN checkPermissions Missing write access to 解决方案

    npm install 报错: WARN checkPermissions Missing write access to 解决方案 参考文章: (1)npm install 报错: WARN che ...

  5. npm install 报错 npm WARN tar ENOENT: no such file or directory, open... 解决方式

    报错信息 npm install 报错 npm WARN tar ENOENT: no such file or directory, open- 解决方式 使用cnpm install

  6. npm install报错 npm ERR,code ERESOLVE npm ERR,ERESOLVE unable to resolve dependency tree

    文章目录 前言 问题分析 解决方法 转载于 前言 在下载npm时报错npm ERR! code ERESOLVE npm ERR! ERESOLEVE unable to resolve depend ...

  7. npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法

    npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法 参考文章: (1)npm install ...

  8. npm install报错的一天

    发现项目找不到axios,然后运行: npm i axios -S npm install 报错 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! ...

  9. clone别人远程仓库的代码,运行npm install报错npm ERR! Maximum call stack size exceeded

    运行npm install报错,我是实习生,实习第四天就各种出错,多人合作的时候连clone下来的仓库,运行npm install时都出错:npm ERR! Maximum call stack si ...

最新文章

  1. 金属表面划痕检测Halcon
  2. c#_限制TextBox输入类型仅可为“-” “.” 数字
  3. activity 防止多次打开_杭州下沙罐式无负压供水设备防止水质污染变频电泵
  4. Linux重定向详解
  5. php empty判断0,PHP empty() 检测一个变量是否为空
  6. SPASVO推出ALM(覆盖全生命周期的研发过程管理平台)免费在线体验平台
  7. UE4【C++】子弹伤害系统使用
  8. 【第8题】求 s=a+aa+aaa+aaaa+aa...a 的值
  9. android开发塔防游戏机,上手快又耐玩 五款Android平台塔防类游戏推荐
  10. java判断是否英文_java如何判断字符串是否是英文
  11. 每天一道Java编程01-厚度为0.0001米的纸折叠多少次可以折成珠穆朗玛峰8848米的高度?
  12. 线上软测培训机构柠檬班与iTEST.AI平台赋能测试行业共同发展、共绽异彩
  13. Android studio打包之 BuildVariants
  14. 远程linux云主机,Linux实验室 远程连接Linux云主机方法
  15. 汇编MOVSX指令详解
  16. SQL Anywhere(ASA) 数据库“File is shorter than expected -- transaction rolled back”错误修复...
  17. 毛笔字识别--详细注释解析恩培作品6
  18. 第三天:avoid_duplicate_name用法
  19. ELMO具体算法过程介绍
  20. 微信小程序获取实时天气

热门文章

  1. 学习发展历史,真的一无所用吗?NO
  2. VMware Workstation15配置虚拟网络编辑器固定IP地址
  3. 嵌入式--RTC实时时钟原理及相关库函数功能
  4. python分离arw与jpg图片
  5. 苹果硬改技术好在哪里?
  6. 【渲染管线】关于透明度混合blend
  7. 智能电表DLT698.45-2017协议规约红外无线抄表报文解析示例说明
  8. 华为机试HJ96:表示数字
  9. Spans,一个强大的概念
  10. jekyll编写济南少儿国画博客