Update package.json peerDependencies #30
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
when using react@16.9
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: qrcode-react@0.1.16
npm ERR! Found: react@16.9.0
npm ERR! node_modules/react
npm ERR! react@"^16.5.0" from the root project
npm ERR! peer react@"^0.14 || ^15.0.0 || ^16.0.0-alpha" from airbnb-prop-types@2.16.0
npm ERR! node_modules/airbnb-prop-types
npm ERR! airbnb-prop-types@"^2.15.0" from enzyme-adapter-utils@1.13.0
npm ERR! node_modules/enzyme-adapter-utils
npm ERR! enzyme-adapter-utils@"^1.13.0" from enzyme-adapter-react-16@1.15.2
npm ERR! node_modules/enzyme-adapter-react-16
npm ERR! enzyme-adapter-react-16@"^1.1.1" from react-textscroll@1.0.0
npm ERR! node_modules/react-textscroll
npm ERR! 25 more (create-react-context, element-react, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"0.12 - 16.2" from qrcode-react@0.1.16
npm ERR! node_modules/qrcode-react
npm ERR! qrcode-react@"^0.1.16" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@16.2.0
npm ERR! node_modules/react
npm ERR! peer react@"0.12 - 16.2" from qrcode-react@0.1.16
npm ERR! node_modules/qrcode-react
npm ERR! qrcode-react@"^0.1.16" 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.