This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 147
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: