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: Error: Can’t resolve ‘react-dom/client’ in 'node_modules/evergreen-ui/esm/toaster/src’ #1593

Open
brandongregoryscott opened this issue Jan 11, 2023 · 1 comment
Labels
bug help-wanted An issue that needs additional investigation or community feedback to resolve

Comments

@brandongregoryscott
Copy link
Contributor

Some internal users have reported a warning from the dynamic import of react-dom/client in the Toaster component that was added in #1494. It seems to still "work", but I'm not super familiar with esm - perhaps we should roll this change back and deal with the original ReactDOM.render warning.

@brandongregoryscott brandongregoryscott added bug help-wanted An issue that needs additional investigation or community feedback to resolve labels Jan 11, 2023
@anshviyogi
Copy link

Try "npm i react-dom/client -f"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help-wanted An issue that needs additional investigation or community feedback to resolve
Projects
None yet
Development

No branches or pull requests

2 participants