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

cli is looking for react v17 #170

Closed
anthonybrown opened this issue May 16, 2022 · 1 comment
Closed

cli is looking for react v17 #170

anthonybrown opened this issue May 16, 2022 · 1 comment

Comments

@anthonybrown
Copy link

I'm trying to get started using MDB in my react app but I'm getting this error.

➜  frontend git:(master) ✗ npm i mdb-react-ui-kit
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: frontend@0.1.0
npm ERR! Found: react@18.1.0
npm ERR! node_modules/react
npm ERR!   react@"^18.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from mdb-react-ui-kit@3.0.0
npm ERR! node_modules/mdb-react-ui-kit
npm ERR!   mdb-react-ui-kit@"*" 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/tony/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/tony/.npm/_logs/2022-05-16T01_01_02_161Z-debug-0.log
@Wojstan
Copy link

Wojstan commented May 16, 2022

This problem will be fixed in the next release. For now, please install dependencies with: npm i --legacy-peer-deps or using yarn. Sorry for the inconvenience.

@Wojstan Wojstan closed this as completed May 16, 2022
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

2 participants