
- 发布:2025-07-24 18:20
- 更新:2025-07-24 19:03
- 阅读:148
产品分类: 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 ```
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
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 ```
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进行依赖安装是报出高危漏洞
1 个回复
DCloud_UNI_JBB
没复现,你是不是npm版本太低了