Skip to content

Dependency not working with React v18 #754

Closed
@Lrigh1

Description

@Lrigh1

🐛 bug report

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8 || ^17.0" from [email protected]
npm ERR! node_modules/react-semantic-ui-datepickers
npm ERR! react-semantic-ui-datepickers@"^2.17.0" from the root project

Description of the problem

After updating react to the latest version (v18), dependency errors appear when trying to start the project.

How has this issue affected you? What are you trying to accomplish?

Attempting to use this module with react and react-dom v18

I was wondering if simply updating the peer dependencies would solve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions