I am trying to install some libraries which have nothing to do with BPMN itself but I get the following errors about BPMN:
$ npm install --save-dev webpack-merge
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: bpmn-js-collapse-subprocess@0.1.1
npm ERR! Found: bpmn-js@9.4.1
npm ERR! node_modules/bpmn-js
npm ERR! peer bpmn-js@β>= 5β from bpmn-js-color-picker@0.4.0
npm ERR! node_modules/bpmn-js-color-picker
npm ERR! bpmn-js-color-picker@β^0.4.0β from the root project
npm ERR! bpmn-js@β*β from bpmn-js-task-resize@1.2.0
npm ERR! node_modules/bpmn-js-task-resize
npm ERR! bpmn-js-task-resize@β^1.2.0β from the root project
npm ERR! 1 more (the root project)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer bpmn-js@β6.x || 7.xβ from bpmn-js-collapse-subprocess@0.1.1
npm ERR! node_modules/bpmn-js-collapse-subprocess
npm ERR! bpmn-js-collapse-subprocess@β^0.1.1β from the root project
npm ERR!
npm ERR! Conflicting peer dependency: bpmn-js@7.5.0
npm ERR! node_modules/bpmn-js
npm ERR! peer bpmn-js@β6.x || 7.xβ from bpmn-js-collapse-subprocess@0.1.1
npm ERR! node_modules/bpmn-js-collapse-subprocess
npm ERR! bpmn-js-collapse-subprocess@β^0.1.1β from the root project
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.
This project that I am trying to install said libraries is filled with BPMN libs itself like shown in the error and it looks like they are conflicting? I am avoiding using --legacy-peer-deps at the moment because I would like to know if thereβs anything I should do before ignoring the errors, because it just seems off that they are conflicting.
Any suggestions?