Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERESOLVE overriding peer dependency #185

Closed
AndrewCharlesHay opened this issue Sep 14, 2022 · 1 comment · Fixed by #186
Closed

ERESOLVE overriding peer dependency #185

AndrewCharlesHay opened this issue Sep 14, 2022 · 1 comment · Fixed by #186
Assignees
Labels
bug Something isn't working good first issue Good for newcomers pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day

Comments

@AndrewCharlesHay
Copy link

Describe the Bug

npm i throws a Could not resolve dependency: error for bpmn-js-example-properties-panel

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: bpmn-js-properties-panel@1.6.1
npm ERR! Found: @bpmn-io/properties-panel@0.11.0
npm ERR! node_modules/@bpmn-io/properties-panel
npm ERR!   @bpmn-io/properties-panel@"^0.11.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @bpmn-io/properties-panel@"^0.20.1" from bpmn-js-properties-panel@1.6.1
npm ERR! node_modules/bpmn-js-properties-panel
npm ERR!   bpmn-js-properties-panel@"^1.0.0-alpha.5" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @bpmn-io/properties-panel@0.20.2
npm ERR! node_modules/@bpmn-io/properties-panel
npm ERR!   peer @bpmn-io/properties-panel@"^0.20.1" from bpmn-js-properties-panel@1.6.1
npm ERR!   node_modules/bpmn-js-properties-panel
npm ERR!     bpmn-js-properties-panel@"^1.0.0-alpha.5" 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.
npm ERR! 
npm ERR! See /Users/andrew.hay/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/andrew.hay/.npm/_logs/2022-09-14T03_37_32_825Z-debug-0.log

Steps to Reproduce

  1. cd into bpmn-js-example-properties-panel and run npm i

Expected Behavior

Install packages properly

Environment

  • Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
node -v
v16.17.0
  • OS: [e.g. Windows 7]
    MacOS 12
  • Library version: [e.g. 2.0.0]
@AndrewCharlesHay AndrewCharlesHay added the bug Something isn't working label Sep 14, 2022
@nikku
Copy link
Member

nikku commented Sep 16, 2022

Apparently we need to consistently bump dependencies for the example. Happy to take a PR to upgrade bpmn-* dependencies in the project.

@nikku nikku added backlog Queued in backlog pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day good first issue Good for newcomers labels Sep 16, 2022
@pinussilvestrus pinussilvestrus self-assigned this Oct 10, 2022
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed backlog Queued in backlog labels Oct 10, 2022
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Oct 11, 2022
@fake-join fake-join bot closed this as completed in #186 Oct 11, 2022
fake-join bot pushed a commit that referenced this issue Oct 11, 2022
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants