Michael H
Michael H
Oh I also remembered that lots of the node:http is a wrapper for fetch rn, so my pr prob actually made other parts of node compat worse
I make more minimal that works in node but not bun (using packages `tsx` and `css-tree`) ```ts import { register } from 'tsx/esm/api'; register() await import("css-tree/definition-syntax-data-patch") ``` It looks looks...
its no longer `"undefined"` and instead `""` ```ts error: Cannot find module '../data/patch.json' from '' ```
Can confirm, here is the debug logs in case that helps someone. Also note, it doesn't indeed appear to read the txt and you don't need the file to exist...
It does seem to only be affected by `Bun.file` apis at least. The `node:fs readFileSync` works and `import("./file.txt", { with: { type: "text" } })` also is fine. Also worth...
Hmm, your vite repo works for me on macos (arm too) ``` bun ./index.ts vite v6.3.5 building for production... ✓ 1 modules transformed. dist/index.html 0.09 kB │ gzip: 0.08 kB...
Oh yeah your right, that does hang (I did forget to add the `build` bit, my bad) Debug logs: ```ts ============================================================ Bun Debug v1.2.16 (817d0464) macOS Silicon macOS v15.5 CPU:...
Looks like this is fixed!
i wonder if we should just redirect that page to the install docs as so much outdated there
@pfgithub fixed this!