Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-cusdis not supporting react v18 #245

Open
ansharora28 opened this issue Apr 6, 2023 · 3 comments
Open

react-cusdis not supporting react v18 #245

ansharora28 opened this issue Apr 6, 2023 · 3 comments

Comments

@ansharora28
Copy link

I am able to install the dependencies and run the react app on my system. But react-cusdis seems to only work at ^17.0.0.0 so im not able to deploy my website since it fails to install dependencies during the build stage. Am i missing something?

@DannySu09
Copy link

DannySu09 commented Aug 2, 2023

I use both [email protected] and react-cusdis in my website and it works fine. Maybe it's not because of the version? Can you paste here the errors that occur during the dependencies installation?

@greatzh
Copy link

greatzh commented Nov 19, 2023

The same problem occurred when I installed the Cusdis, the error report shows that

# npm resolution error report

While resolving: [email protected]
Found: [email protected]
node_modules/react
  react@"^18.2.0" from the root project

Could not resolve dependency:
peer react@"^17.0.0" from [email protected]
node_modules/react-cusdis
  react-cusdis@"*" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

should I install this with --force ?

@nareshpingale
Copy link

nareshpingale commented Jun 13, 2024

Raised a PR for adding reactv18 support to the react-cudis. Found reference to this repo from the official documentation.
Cusdis/sdk#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants