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 · 2 comments
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"

@tarekbazine
Copy link

Hi @brandongregoryscott, any update on this?

I am having the same issue.

    "react": "17.0.2",
    "react-dom": "17.0.2",
    "evergreen-ui": "^7.1.9",

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

3 participants