Open akonyer opened 2 years ago
+1; (using react 18.2 and nextjs 12.3)
When I install it, I receive the error below:
> npm install styled-is
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: amazon-ht-web@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.4" from styled-is@1.3.0
npm ERR! node_modules/styled-is
npm ERR! styled-is@"*" 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!
npm ERR! See /Users/x/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/x.npm/_logs/2022-11-29T23_35_43_724Z-debug-0.log
Why is react 16 a dependency? This is preventing me from updating projects to react 17 or 18