I'm using Node 20.7.0 and calling my script like this:
node --loader @swc-node/register/esm ./script.js
When running with @swc/core version >=1.3.85 I get this error everytime.
[Error: unknown field `noInterop`, expected `resolveFully` at line 1 column 548] {
code: 'InvalidArg'
}
If I use <=1.3.84 it works, so I went to @swc/core to investigate, and it seems 1.3.85 added this resolveFully option in several places, but noInterop was not removed.
I'm using Node
20.7.0
and calling my script like this:When running with
@swc/core
version>=1.3.85
I get this error everytime.If I use
<=1.3.84
it works, so I went to@swc/core
to investigate, and it seems1.3.85
added thisresolveFully
option in several places, butnoInterop
was not removed.