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

Exports not found #2

Open
MercerK opened this issue Jan 8, 2023 · 0 comments
Open

Exports not found #2

MercerK opened this issue Jan 8, 2023 · 0 comments

Comments

@MercerK
Copy link

MercerK commented Jan 8, 2023

[17:58:02 WARN]: com.caoccao.javet.exceptions.JavetExecutionException: ReferenceError: exports is not defined
[17:58:02 WARN]:        at com.caoccao.javet.interop.V8Native.execute(Native Method)

Since I transpile my code, it utilizes the exports object. This doesn't exist in current state. However, I got passed it by doing a hack, such as globalThis.exports = {}

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

1 participant