Skip to content

Conversation

Kitten9533
Copy link

when using [email protected]

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
npm ERR! node_modules/airbnb-prop-types
npm ERR! airbnb-prop-types@"^2.15.0" from [email protected]
npm ERR! node_modules/enzyme-adapter-utils
npm ERR! enzyme-adapter-utils@"^1.13.0" from [email protected]
npm ERR! node_modules/enzyme-adapter-react-16
npm ERR! enzyme-adapter-react-16@"^1.1.1" from [email protected]
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 [email protected]
npm ERR! node_modules/qrcode-react
npm ERR! qrcode-react@"^0.1.16" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"0.12 - 16.2" from [email protected]
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.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
npm ERR!   node_modules/airbnb-prop-types
npm ERR!     airbnb-prop-types@"^2.15.0" from [email protected]
npm ERR!     node_modules/enzyme-adapter-utils
npm ERR!       enzyme-adapter-utils@"^1.13.0" from [email protected]
npm ERR!       node_modules/enzyme-adapter-react-16
npm ERR!         enzyme-adapter-react-16@"^1.1.1" from [email protected]
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 [email protected]
npm ERR! node_modules/qrcode-react
npm ERR!   qrcode-react@"^0.1.16" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"0.12 - 16.2" from [email protected]
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.
…_json-peerDependencies

Update package.json peerDependencies
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

Successfully merging this pull request may close these issues.

1 participant