eclipsesource / eclipsesource/J2V8
Cannot use import statement outside a module
Open
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 387
- PR merge metrics
- No merged PRs in 30d
Description
I want to import some public functions from another js file. But an error `Cannot use import statement outside a module` happened. How to fix this?
Contributor guide
Research direction
No file, test, or entry point is named. Start by reproducing the import statement error in J2V8 and checking how the JavaScript execution context handles modules. Done means either module imports work through a defined J2V8-supported path or the limitation and required usage are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100