Skip to content

Issue between react-simple-chatbot and styled-components #381

Description

@GastonFlorenciano

I ran 'npm install' and threw the next error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: pg-henry-front@0.1.0
npm ERR! Found: styled-components@5.3.11
npm ERR! node_modules/styled-components
npm ERR! styled-components@"^5.3.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer styled-components@"^4.0.0" from react-simple-chatbot@0.6.1
npm ERR! node_modules/react-simple-chatbot
npm ERR! react-simple-chatbot@"^0.6.1" 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!
npm ERR! For a full report see:
npm ERR! C:\Users\Usuario\AppData\Local\npm-cache_logs\2023-12-03T20_06_56_961Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\Usuario\AppData\Local\npm-cache_logs\2023-12-03T20_06_56_961Z-debug-0.log

I changed styled-components version to "^4.0.0" because the docs say that's the styled-components version compatible with react-simple-chatbot, but the error persists, I'd be grateful if anybody brings some help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions