Sam Clegg

Results 1443 comments of Sam Clegg

Any idea why `await import('module')` does not work in Vite or Bun? Would it help if we used `node:module` instead?

OK, I'll try to main this fail for me in a `vite` test, and if I can show that it fixes it here to we can/should switch to `node:module` I...

I cannot reproduce this with VITE v7.0.6 .. it seems perfectly happy with `require("module")` @marcus-mclean-miris could you show me how to reproduce in bun?

I'm tempted to close this issue since the specific vite problem has been resolved.

Seems reasonable to me. @juj WDYT? @kolAflash would you like to send a PR? (Please add a ChangeLog entry if you do)

Can you try building with `-O0` and/or `-sASSERTIONS=2`? Do you see any other errors in the console?

No idea what could cause that. They are all built in the same way as far as I know. Can you confirm you are running the correct binary? What does...

Thats quite a mystery. I don't know enough about windows to know how to start debugging. If you build from source does it have the same behaviour?

This is JS function that is normally provided by the emscripten-generated code. The function itself was added way back in #16118 but its possible a more recent change caused your...

That does sounds strange. Closing for, feel free to re-open if you see it again.