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
npm ERR! Found: [email protected]
npm ERR! node_modules/styled-components
npm ERR! styled-components@"^6.0.0-rc.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer styled-components@">= 2" from [email protected]
npm ERR! node_modules/babel-plugin-styled-components
npm ERR! dev babel-plugin-styled-components@"^2.1.4" from the root project
npm ERR! peerOptional babel-plugin-styled-components@">= 2" from [email protected]
npm ERR! node_modules/styled-components
npm ERR! styled-components@"^6.0.0-rc.6" 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.
What I'm doing wrong? just tried to install the lastest version
The text was updated successfully, but these errors were encountered:
npm i react [email protected] babel-plugin-styled-componentsnpm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR!npm ERR! While resolving: [email protected]npm ERR! Found: [email protected]npm ERR! node_modules/styled-componentsnpm ERR! styled-components@"6.0.0-rc.6" from the root projectnpm ERR!npm ERR! Could not resolve dependency:npm ERR! peer styled-components@">= 2" from [email protected]npm ERR! node_modules/babel-plugin-styled-componentsnpm ERR! babel-plugin-styled-components@"*" from the root projectnpm ERR! peerOptional babel-plugin-styled-components@">= 2" from [email protected]npm ERR! node_modules/styled-componentsnpm ERR! styled-components@"6.0.0-rc.6" from the root projectnpm ERR!npm ERR! Conflicting peer dependency: [email protected]npm ERR! node_modules/styled-componentsnpm ERR! peer styled-components@">= 2" from [email protected]npm ERR! node_modules/babel-plugin-styled-componentsnpm ERR! babel-plugin-styled-components@"*" from the root projectnpm ERR! peerOptional babel-plugin-styled-components@">= 2" from [email protected]npm ERR! node_modules/styled-componentsnpm ERR! styled-components@"6.0.0-rc.6" from the root projectnpm ERR!npm ERR! Fix the upstream dependency conflict, or retrynpm ERR! this command with --force or --legacy-peer-depsnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I guess we need to fix peerDependencies in package.json
What I'm doing wrong? just tried to install the lastest version
The text was updated successfully, but these errors were encountered: