-
Notifications
You must be signed in to change notification settings - Fork 40
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
Doesn't work with React.js 17 #42
Comments
Same issue with react 18.2. Is this a dead project? |
The library have peerDependency for react 16.2.0, so you need use the same version. I try to force with Is something :) EDIT: |
I am using CRA 5.0.0, and try to install this npm-module. Then I got this error message:
PS C:\temp\temp\helloworld> npm install react-web-component
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: helloworld@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.2.0" from react-web-component@2.0.2
npm ERR! node_modules/react-web-component
npm ERR! react-web-component@"*" 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!
The text was updated successfully, but these errors were encountered: