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

Unexpected token 'export' Electronjs ByteNode #25

Open
mcjambi opened this issue Mar 17, 2023 · 2 comments
Open

Unexpected token 'export' Electronjs ByteNode #25

mcjambi opened this issue Mar 17, 2023 · 2 comments
Labels
needs reproduction The author did not provide a reproduction repository potential bug

Comments

@mcjambi
Copy link

mcjambi commented Mar 17, 2023

I meet a very new error:

SyntaxError: Unexpected token 'export'
at new Script (node:vm:100:7)
at Object.compileCode (C:\GitHub... (remove) ...\node_modules\bytenode\lib\index.js:28:18)

It is still working but error throw to terminal while i am building production.

my Typescript config like this:

"module": "CommonJS",
"target": "es2022"

@herberttn
Copy link
Owner

@mcjambi can you make a reproduction repository so I can try to fix it?

@herberttn herberttn added needs reproduction The author did not provide a reproduction repository potential bug labels Mar 23, 2023
@herberttn
Copy link
Owner

@mcjambi does this still happen? If so, can you create a reproduction repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction The author did not provide a reproduction repository potential bug
Projects
None yet
Development

No branches or pull requests

2 participants