data-driven-forms / react-forms

React library for rendering forms.
https://data-driven-forms.org/
Apache License 2.0
295 stars 85 forks source link

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

Closed malloy045 closed 7 months ago

malloy045 commented 7 months ago

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?

malloy045 commented 7 months ago

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

rvsia commented 5 months ago

:tada: This issue has been resolved in version 3.22.4 :tada:

The release is available on

Data-Driven-Forms.org!