-
Notifications
You must be signed in to change notification settings - Fork 145
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
Nullish coalescing (??
) causes SyntaxError
#909
Comments
Can confirm. |
Also confirming the problem, using the same node version |
Use a `? . 'will also get syntax errors |
I used chakra-ui and when starting the backend server which uses SSR, it fails with this error in Node 16. This need to fixed in esm |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm on Node 16.13.0, and if I run a script with
-r esm
, I get a syntax error that isn't present when running without it.Reproduceable example:
This does not run.
This runs.
The error I see reads
The text was updated successfully, but these errors were encountered: