Commit 210570f
fix: flatten node_modules to resolve Windows path depth limit on bun install
Windows has a MAX_PATH limit of 260 characters. With deeply nested tscircuit
dependencies (poppygl → readable-stream → string_decoder → safe-buffer),
the nested node_modules structure exceeds this limit, causing ENOENT errors.
Solution: Set 'flatten = true' in [install] section of bunfig.toml to generate
a flattened node_modules structure, reducing path depth and avoiding Windows
MAX_PATH errors during 'bun install' on Windows runners.
Fixes: Windows Bun Tests failure - 'Failed to install 1 package'
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 3181c4a commit 210570f
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
0 commit comments