Open bolivier opened 2 years ago
Can confirm.
Also confirming the problem, using the same node version
Use a `? . 'will also get syntax errors SyntaxError: Invalid or unexpected token
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
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