Skip to content

While resolving: [email protected] #2007

Open
@scheung38

Description

@scheung38

npm install openapi-typescript-codegen --save-dev

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN peer react@">=16.0.0" from @ant-design/[email protected]
npm WARN node_modules/@ant-design/icons
npm WARN @ant-design/icons@"^4.7.0" from [email protected]
npm WARN node_modules/react-chat-engine-advanced
npm WARN 13 more (@heroicons/react, @reduxjs/toolkit, nextjs-websocket, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0 || ^17.x" from [email protected]
npm WARN node_modules/react-grid-system
npm WARN react-grid-system@"^7.3.2" from [email protected]
npm WARN node_modules/react-chat-engine-advanced
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"^16.8.0 || ^17.x" from [email protected]
npm WARN node_modules/react-grid-system
npm WARN react-grid-system@"^7.3.2" from [email protected]
npm WARN node_modules/react-chat-engine-advanced

The react-grid-system package requires a version of React that is either 16.8.0 or any version in the 17.x range. However, your project is currently using React version 18.2.0, which is not compatible with react-grid-system.

To resolve this issue, you have a couple of options:

  1. Downgrade your React version to a compatible one. This might not be ideal if you're using features from React 18.2.0 that are not available in earlier versions.

  2. Look for an alternative to react-grid-system that supports React 18.2.0.

What is the best option please?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions