You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While resolving: undefined@undefined
Found: [email protected]
node_modules/react
peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @atlaskit/[email protected]
node_modules/@atlaskit/pragmatic-drag-and-drop-flourish
@atlaskit/pragmatic-drag-and-drop-flourish@"^1.1.1" from the root project
Could not resolve dependency:
virtua@"^0.31.0" from the root project
Conflicting peer dependency: [email protected]
node_modules/react
peer react@"^19.0.0" from [email protected]
node_modules/react-dom
peerOptional react-dom@">=16.14.0" from [email protected]
node_modules/virtua
virtua@"^0.31.0" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
The text was updated successfully, but these errors were encountered:
Hi @nezaboravi, this error is a clash between the provided React version and the expected React version. Your application is providing [email protected] and Pragmatic Drag & Drop expects React within ^16.8.0 || ^17.0.0 || ^18.0.0.
React 19 is new, released 11 days ago, so unfortunately we haven't tested our lib with it yet.
If you want to stabilise things in the meantime I'd recommend downgrading your app's React version to version 18.
I'm not sure why virtua is also complaining, since its peer dependency of react-dom@>=16.14.0 should be satisfied by both version 19 and 18. Hopefully that issue goes away when you switch to React 18. virtua itself depends on React 18 too.
npm resolution error report
While resolving: undefined@undefined
Found: [email protected]
node_modules/react
peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @atlaskit/[email protected]
node_modules/@atlaskit/pragmatic-drag-and-drop-flourish
@atlaskit/pragmatic-drag-and-drop-flourish@"^1.1.1" from the root project
Could not resolve dependency:
virtua@"^0.31.0" from the root project
Conflicting peer dependency: [email protected]
node_modules/react
peer react@"^19.0.0" from [email protected]
node_modules/react-dom
peerOptional react-dom@">=16.14.0" from [email protected]
node_modules/virtua
virtua@"^0.31.0" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
The text was updated successfully, but these errors were encountered: