-
Notifications
You must be signed in to change notification settings - Fork 106
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
SyntaxError: Cannot use import statement outside a module #24
Comments
Thanks for creating issue, could you please provide a minimal reproducible repo? |
I followed the instructions above with a react app and this is the error |
I had this issue while running Jest tests with my React project setup with
|
Worked for me! A couple notes:
|
I tried this
But no result. |
See also issue #34 |
My project had craco so below settings worked for me
|
any ideas on this? I've followed
import { JsonEditor as Editor } from 'jsoneditor-react';
import 'jsoneditor-react/es/editor.min.css';
later in render method:
The text was updated successfully, but these errors were encountered: