You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When will React 17.x be added as peerDeependency?
When you have React 17.x and npm version 7 installed you need to install this pacakge with --force or --legacy-peer-deps flags, otherwise you get:
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.1" from the root project
npm ERR! peer react@">=16.8.0" from @emotion/[email protected]
npm ERR! node_modules/@emotion/react
npm ERR! peerOptional @emotion/react@"^11.0.0" from [email protected]
npm ERR! node_modules/styled-breakpoints
npm ERR! styled-breakpoints@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional react@"^16.8.0" from [email protected]
npm ERR! node_modules/styled-breakpoints
npm ERR! styled-breakpoints@"*" from the root project
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
When will React 17.x be added as peerDeependency?
When you have React 17.x and npm version 7 installed you need to install this pacakge with --force or --legacy-peer-deps flags, otherwise you get:
Thanks!
The text was updated successfully, but these errors were encountered: