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

Multiple (all?) codesandbox.io examples experiencing "ModuleNotFoundError" exceptions #1441

Closed
malloy045 opened this issue Jan 30, 2024 · 2 comments · Fixed by #1442
Closed
Assignees
Labels
bug Something isn't working docs docs pull requests good first issue Good for newcomers released

Comments

@malloy045
Copy link

malloy045 commented Jan 30, 2024

Scope: codesandbox.io examples experiencing "ModuleNotFoundError" exceptions

Description
Many of the codesandbox.io examples that are linked to from the documentation fail to transpile with a ModuleNotFoundError exception.

ModuleNotFoundError
Could not find module in path: 'react/jsx-runtime' relative to '/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js'

image

Example:
https://codesandbox.io/s/1lz2ku

Brief investigation suggests that this may be an compatibility issue between MUI v5+ and react.

Attempts to upgrade react to v18+ via the codesandbox.io dependency manager resulted in additional errors.

Would it be possible to get these examples fixed?

@rvsia rvsia added bug Something isn't working docs docs pull requests good first issue Good for newcomers labels Jan 31, 2024
@Hyperkid123 Hyperkid123 self-assigned this Jan 31, 2024
@malloy045
Copy link
Author

malloy045 commented Jan 31, 2024

@Hyperkid123, @rvsia: The quick response is greatly appreciated! Thanks!

@rvsia rvsia added the released label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs docs pull requests good first issue Good for newcomers released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants