当前位置: 首页 > 工具软件 > bpmn-js > 使用案例 >

peer bpmn-js@“^3.x || ^4.x || ^5.x || ^6.x || ^7.x“ from bpmn-js-properties-panel@0.37.6 报错解决

杨良平
2023-12-01

执行npm install --registry=https://registry.npm.taobao.org 报错如下

F:\java\git\ruoyi-vue-pro-master\yudao-admin-ui>npm install --registry=https://registry.npm.taobao.org
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: ruoyi@3.3.0
npm ERR! Found: bpmn-js@8.9.0
npm ERR! node_modules/bpmn-js
npm ERR!   dev bpmn-js@"8.9.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer bpmn-js@"^3.x || ^4.x || ^5.x || ^6.x || ^7.x" from bpmn-js-properties-panel@0.37.6
npm ERR! node_modules/bpmn-js-properties-panel
npm ERR!   dev bpmn-js-properties-panel@"^0.37.2" from the root project
npm ERR!

解决方法:

执行: npm i --legacy-peer-deps

 类似资料: