启动红讯jpaas项目的main和app包的前端项目的时候,出现下载依赖错误怎么办?
启动红讯jpaas项目的main和app包的前端项目的时候,出现下载依赖错误,提示:
怎么办?
PS E:\worksapace\jpaas-front\ac-app> npm install --registry=http://dev.redxun.cn:18081/repository/npm-redxun-group/
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: pinia@2.3.1
npm ERR! Found: vue@3.3.2
npm ERR! node_modules/vue
npm ERR! vue@"3.3.2" from the root project
npm ERR! peer vue@">=3.0.3" from @ant-design/icons-vue@7.0.1
npm ERR! node_modules/@ant-design/icons-vue
npm ERR! @ant-design/icons-vue@"^7.0.0" from ant-design-vue@4.0.7
npm ERR! node_modules/ant-design-vue
npm ERR! ant-design-vue@"4.0.7" from the root project
npm ERR! 1 more (@lowcode/jpaas-share-component)
npm ERR! @ant-design/icons-vue@"^7.0.0" from ant-design-vue@4.2.6
npm ERR! node_modules/@lowcode/jpaas-screen-front/node_modules/ant-design-vue
npm ERR! ant-design-vue@"4.2.6" from @lowcode/jpaas-screen-front@7.3.7
npm ERR! node_modules/@lowcode/jpaas-screen-front
npm ERR! @lowcode/jpaas-screen-front@"7.3.7" from the root project
npm ERR! 39 more (@highlightjs/vue-plugin, @interactjs/dev-tools, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.7.0 || ^3.5.11" from pinia@2.3.1
npm ERR! node_modules/pinia
npm ERR! pinia@"^2.0.36" from the root project
npm ERR! pinia@"^2.0.36" from rx-drag@0.0.18
npm ERR! node_modules/rx-drag
npm ERR! rx-drag@"0.0.18" from @lowcode/jpaas-screen-front@7.3.7
npm ERR! node_modules/@lowcode/jpaas-screen-front
npm ERR! @lowcode/jpaas-screen-front@"7.3.7" from the root project
npm ERR! 6 more (@lowcode/jpaas-base-lib, @lowcode/jpaas-form-lib, ...)
npm ERR!
npm ERR! Conflicting peer dependency: vue@3.5.19
npm ERR! node_modules/vue
npm ERR! peer vue@"^2.7.0 || ^3.5.11" from pinia@2.3.1
npm ERR! node_modules/pinia
npm ERR! pinia@"^2.0.36" from the root project
npm ERR! pinia@"^2.0.36" from rx-drag@0.0.18
npm ERR! node_modules/rx-drag
npm ERR! rx-drag@"0.0.18" from @lowcode/jpaas-screen-front@7.3.7
npm ERR! node_modules/@lowcode/jpaas-screen-front
npm ERR! @lowcode/jpaas-screen-front@"7.3.7" from the root project
npm ERR! 6 more (@lowcode/jpaas-base-lib, @lowcode/jpaas-form-lib, ...)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Administrator\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs25-08-23T08_35_38_216Z-debug-0.log
怎么办?
发布于:2小时前 IP属地:四川省
1 个回答
这两个依赖包特殊,不能再使用
--registry=http://dev.redxun.cn:18081/repository/npm-redxun-group/
这个仓库,使用下面的命令下载modules即可npm install --legacy-peer-deps --registry=http://dev.redxun.cn:18081/repository/npm-redxun-group/
发布于:2小时前 IP属地:四川省
我来回答
您需要 登录 后回答此问题!