-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
unable to resolve dependency tree for React 17 #99
Comments
Seconded, running into the same issue here. |
I just installed under React 17.0.2 and no issues found for me |
I'm having the same problems as @mrkaptep showed. @hongz1, can you share what you've done to make this work with React 17.0.2? npm ERR! ERESOLVE unable to resolve dependency tree |
There is nothing I did something else. created react project by
|
@hongz1, I cleared my package cache and tried to install again using "npm i --save material-ui-search-bar" and got the same errors. C:\temp\react-crud>npm i --save material-ui-search-bar |
Is create-react-app package installed globally or did you installed on the fly using npx into your project dir? |
tbh, I don't recall. I think it was "on the fly". Is there any way for me to tell after the fact? I have to admit, I'm a noob at this stuff and am still learning the basics. |
I noticed missing dependency error message was shown although I could run it with react 17. sorry for the confusion. Option#1: uninstall react 17 and install react 16.14.0 (tested and this works) Option#2: If you want to keep react 17, then download if you have eslint installed, you will see a couple of warnings for useCallBack dependencies. you can remove those warnings by hope this help. |
or try opening node_modules > material-ui-search-bar > package.json and update react and react-dom version to 17.0.2 in |
Thanks for those suggestions @hongz1. I'll work thru them to see if any can resolve the issue. FYI, I took your second suggestion (Option #2) and was able to make it "work", i.e., I'm able to show the search bar. I just have to figure out how to set it up to make it actually search :). Thanks again for your assistance. |
npm i material-ui-search-bar --force This worked for me |
Fixed by #117 in the next release. |
@leMaik @hongz1 @msueping @mrkaptep npm ERR! code ERESOLVE |
thank you so much! |
Can we remove the peer dependencies of react or update it to work with react 16 or 17?
The text was updated successfully, but these errors were encountered: