You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can deno run example.ts without issue, however when in debug mode (--inspect-wait or --inspect-brk), and after a debugger gets attached, it errors with:
error: Uncaught (in promise) TypeError: WebAssembly.compile(): Argument 0 must be a buffer source
at eventLoopTick (ext:core/01_core.js:168:7)
Process exited with code 1
It's possible that this is specific to SWC, but it is interesting to note that Deno itself has to be in debug mode for it to happen so just mentioning it here, thank you.
The text was updated successfully, but these errors were encountered:
Just an a side note if the problem is in the WASM code (please delete if its not helpful): Another way of looking at this issue is that we're ultimately trying to jury-rig a transpiler here. Instead, if Deno (and Deploy) had some way of just exposing its own internal SWC transpiler so you don't have to add one "again" to your project e.g.
Version: Deno 1.42.3
The following initializes the wasm version of swc.rc:
example.ts
You can
deno run example.ts
without issue, however when in debug mode (--inspect-wait
or--inspect-brk
), and after a debugger gets attached, it errors with:It's possible that this is specific to SWC, but it is interesting to note that Deno itself has to be in debug mode for it to happen so just mentioning it here, thank you.
The text was updated successfully, but these errors were encountered: