-
Notifications
You must be signed in to change notification settings - Fork 220
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
npm ERR! Could not resolve dependency: npm ERR! peer react@">15.4.2 <17.0.0" from [email protected] #398
Comments
I have the same problem, please add support for latest react version 🙏
|
These should be adequate:
The official blog says that breaking changes exist, but I doubt that the code depends on any of the affected features. The most time-consuming part about making the update would be UI tests to verify that the API is still intact. Let me try PR'ing a fix this upcoming weekend. @bgwd666 @landsman @mcataford @patw0929 |
I am also stuck in this issue, did you get any solution ? |
I was able to "fix" it using an older version of node to install it(in my case 14.18.0). After that, you can return to your current node version and run it. |
You can add an override into your package json, forcing the package.json{
// ...
"overrides": {
"react": "$react",
"react-dom": "$react-dom"
},
} |
I my case, I install dependency using yarn |
Expected Behavior
npm ERR! Could not resolve dependency:
npm ERR! peer react@">15.4.2 <17.0.0" from [email protected]
npm ERR! node_modules/react-intl-tel-input
npm ERR! react-intl-tel-input@"^8.2.0" from the root project
Current Behavior
Possible Solution
Steps to Reproduce
Code:
Environment
Detailed Description
The text was updated successfully, but these errors were encountered: