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

While resolving: [email protected] #2007

Open
scheung38 opened this issue Jan 29, 2024 · 1 comment
Open

While resolving: [email protected] #2007

scheung38 opened this issue Jan 29, 2024 · 1 comment
Assignees

Comments

@scheung38
Copy link

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?

@mrlubos
Copy link
Collaborator

mrlubos commented Feb 15, 2024

@scheung38 react-grid-system supports React 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants