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: styled-components@6.0.0-rc.6
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 babel-plugin-styled-components@2.1.4
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 styled-components@6.0.0-rc.6
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 styled-components@6.0.0-rc.6 babel-plugin-styled-componentsnpm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR!npm ERR! While resolving: babel-plugin-styled-components@2.1.4npm ERR! Found: styled-components@6.0.0-rc.6npm 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 babel-plugin-styled-components@2.1.4npm ERR! node_modules/babel-plugin-styled-componentsnpm ERR! babel-plugin-styled-components@"*" from the root projectnpm ERR! peerOptional babel-plugin-styled-components@">= 2" from styled-components@6.0.0-rc.6npm ERR! node_modules/styled-componentsnpm ERR! styled-components@"6.0.0-rc.6" from the root projectnpm ERR!npm ERR! Conflicting peer dependency: styled-components@5.3.11npm ERR! node_modules/styled-componentsnpm ERR! peer styled-components@">= 2" from babel-plugin-styled-components@2.1.4npm ERR! node_modules/babel-plugin-styled-componentsnpm ERR! babel-plugin-styled-components@"*" from the root projectnpm ERR! peerOptional babel-plugin-styled-components@">= 2" from styled-components@6.0.0-rc.6npm 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: