用户2860800
用户2860800
  • 发布:2025-07-24 18:20
  • 更新:2025-07-24 19:03
  • 阅读:148

【报Bug】使用CLI新建项目安装依赖报高危漏洞

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: windows11

手机系统: 全部

手机厂商: 华为

页面类型: vue

vue版本: vue3

打包方式: 离线

项目创建方式: CLI

CLI版本号: vue@3.4.21 vite@5.2.8

测试过的手机:

暂无

示例代码:


81 packages are looking for funding  
  run `npm fund` for details  

42 vulnerabilities (8 moderate, 34 high)  

To address issues that do not require attention, run:  
  npm audit fix  

To address all issues (including breaking changes), run:  
  npm audit fix --force ```

操作步骤:

npx degit dcloudio/uni-preset-vue#vite my-vue3-project
npm i

预期结果:

正常安装

实际结果:


81 packages are looking for funding  
  run `npm fund` for details  

42 vulnerabilities (8 moderate, 34 high)  

To address issues that do not require attention, run:  
  npm audit fix  

To address all issues (including breaking changes), run:  
  npm audit fix --force ```

bug描述:

使用CLI构建uniapp项目,执行npm i进行依赖安装是报出高危漏洞

2025-07-24 18:20 负责人:无 分享
已邀请:
DCloud_UNI_JBB

DCloud_UNI_JBB

没复现,你是不是npm版本太低了

要回复问题请先登录注册