Through `@atlaskit/tokens` and `@atlaskit/ds-lib@`, `@atlaskit/pragmatic-drag-and-drop-react-drop-indicator` has a peer dependency on React `18.2.0`

Author: tylerlapradeCreated Aug 6, 2024Updated Feb 16, 2026

This is causing warnings every time I install anything with NPM since I'm on React 18.3.0.

bash
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @atlaskit/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^16.3.0 || ^17.0.0 || ^18.0.0" from @ag-grid-community/[email protected]
npm WARN   node_modules/@ag-grid-community/react
npm WARN     @ag-grid-community/react@"32.0.2" from the root project
npm WARN   54 more (...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0 || ^17.0.0 || ~18.2.0" from @atlaskit/[email protected]
npm WARN node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/node_modules/@atlaskit/tokens
npm WARN   @atlaskit/tokens@"^1.56.0" from @atlaskit/[email protected]
npm WARN   node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^16.8.0 || ^17.0.0 || ~18.2.0" from @atlaskit/[email protected]
npm WARN   node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/node_modules/@atlaskit/tokens
npm WARN     @atlaskit/tokens@"^1.56.0" from @atlaskit/[email protected]
npm WARN     node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @atlaskit/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^16.3.0 || ^17.0.0 || ^18.0.0" from @ag-grid-community/[email protected]
npm WARN   node_modules/@ag-grid-community/react
npm WARN     @ag-grid-community/react@"32.0.2" from the root project
npm WARN   54 more (...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0 || ^17.0.0 || ~18.2.0" from @atlaskit/[email protected]
npm WARN node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/node_modules/@atlaskit/tokens/node_modules/@atlaskit/ds-lib
npm WARN   @atlaskit/ds-lib@"^2.3.0" from @atlaskit/[email protected]
npm WARN   node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/node_modules/@atlaskit/tokens
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^16.8.0 || ^17.0.0 || ~18.2.0" from @atlaskit/[email protected]
npm WARN   node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/node_modules/@atlaskit/tokens/node_modules/@atlaskit/ds-lib
npm WARN     @atlaskit/ds-lib@"^2.3.0" from @atlaskit/[email protected]
npm WARN     node_modules/@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/node_modules/@atlaskit/tokens

added 3 packages, removed 1 package, changed 34 packages, and audited 1406 packages in 10s

Source: atlassian/pragmatic-drag-and-drop