Skip to content

linter: Bun can't run Oxlint with --type-aware on Windows: Failed to find tsgolint executable #13784

@Dimava

Description

@Dimava

What version of Oxlint are you using?

latest

What command did you run?

bun oxlint --type-aware

What does your .oxlintrc.json config file look like?

I'm not using a config file

What happened?

mkdir repro
cd repro
bun init -y
git init && echo "(otherwise oxlint lints node_modules)"
bun i -D bun i -D oxlint oxlint-tsgolint
dir node_modules\.bin
bun oxlint --type-aware

Output:

 Directory of repro\node_modules\.bin

15/09/2025  17:20    <DIR>          .
15/09/2025  17:20    <DIR>          ..
15/09/2025  17:20                36 bun.bunx
15/09/2025  17:20            13,824 bun.exe
15/09/2025  17:20                38 bunx.bunx
15/09/2025  17:20            13,824 bunx.exe
15/09/2025  17:20                84 oxc_language_server.bunx
15/09/2025  17:20            13,824 oxc_language_server.exe
15/09/2025  17:20                58 oxlint.bunx
15/09/2025  17:20            13,824 oxlint.exe
15/09/2025  17:20                60 tsc.bunx
15/09/2025  17:20            13,824 tsc.exe
15/09/2025  17:20                86 tsgolint.bunx
15/09/2025  17:20            13,824 tsgolint.exe
15/09/2025  17:20                70 tsserver.bunx
15/09/2025  17:20            13,824 tsserver.exe
              14 File(s)         97,200 bytes
               2 Dir(s)  22,811,107,328 bytes free

Failed to find tsgolint executable

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions