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

Module not found: Can't resolve 'react-dom/client #80

Closed
viveleroi opened this issue Jun 29, 2022 · 2 comments
Closed

Module not found: Can't resolve 'react-dom/client #80

viveleroi opened this issue Jun 29, 2022 · 2 comments

Comments

@viveleroi
Copy link

Installed this module in a NextJS 12/React v17 project and am getting the following error:

./node_modules/react-confirm-alert/lib/index.js:24:0
Module not found: Can't resolve 'react-dom/client'

Is v3 only for React 18? I can't find documentation or proper changelogs.

@NastyaSid
Copy link

The same for me...

@GA-MO
Copy link
Owner

GA-MO commented Jul 12, 2022

Document updated.
For react <= 17.x.x use version 2.x.x

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

3 participants