Commit fd47bd3
docs: worktree-only Turbopack panic when website .next caches exist (#871)
nx build cockpit dies with 'FileSystemPath(...).join(...) leaves the
filesystem root' in a git worktree whenever apps/website/.next or
dist/apps/website exists. The caches hold a node_modules symlink whose
relative target routes through the MAIN checkout's root — valid on disk,
but Turbopack's virtual filesystem refuses to traverse above its project
root. Verified: pinning turbopack.root does NOT fix it; clearing the
caches does (build goes 1 -> 0). CI is unaffected (fresh, un-nested
checkouts).
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 5a4a81a commit fd47bd3
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
55 | 71 | | |
56 | 72 | | |
57 | 73 | | |
| |||
0 commit comments