Bun window tsconfig

I have this error when using bun-types in the tsconfig.json as in https://bun.sh/docs/installation#typescript. This will fail bun run build. Anybody know why this is?
Bun
Installation | Bun Docs
Install Bun with npm, Homebrew, Docker, or the official install script.
5 Replies
Matvey
Matvey15mo ago
can you share the error message if you're using windows, Bun is very experimental (the first windows version was just released a couple of days ago), so it's probably bug in bun, try running it in WSL
sambe
sambeOP15mo ago
I use MacOS
sambe
sambeOP15mo ago
No description
Matvey
Matvey15mo ago
Your TSConfig should have something like this "lib": ["ESNext", "DOM"],
sambe
sambeOP15mo ago
It works without types (first pic), but doesnt with (second)
No description
No description
Want results from more Discord servers?
Add your server