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

error - react-data-grid #161

Closed
mariusiscoding opened this issue Mar 24, 2023 · 1 comment
Closed

error - react-data-grid #161

mariusiscoding opened this issue Mar 24, 2023 · 1 comment

Comments

@mariusiscoding
Copy link

Using React 17.0.2
After installing I get the error:

ERROR in ./node_modules/react-data-grid/lib/bundle.js 4:0-56

Module not found: Error: Can't resolve 'react/jsx-runtime' in 'C:\Users...\client\node_modules\react-data-grid\lib'
Did you mean 'jsx-runtime.js'?
BREAKING CHANGE: The request 'react/jsx-runtime' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

@masiulis
Copy link
Contributor

Sorry for a late reply, this is probably caused by your build setup, not the library. This might help adazzle/react-data-grid#2773.

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

2 participants