Repository navigation
Commit 1daa051
Switch bun install to isolated linker to fix TUI spinner crash
The previous --linker=hoisted layout flattened workspace node_modules
in a way that produced duplicate copies of @opentui/solid (peer
mismatch between solid-js 1.9.10 catalog vs @opentui/solid's peer
1.9.12). The opentui-spinner side-effect import then registered the
<spinner/> component on one copy while the TUI render reached a
different copy, surfacing as: [Reconciler] Unknown component type:
spinner (anomalyco/opencode#7415).
Switching to bun's default isolated linker matches upstream's
nix/node_modules.nix exactly: each package gets its own
node_modules/.bun/<pkg>@<ver>+<hash>/ slot with symlinked dedup, so
@opentui/solid is never duplicated. installPhase now uses
`cp -aR --parents` to preserve those symlinks (a plain `cp -R`
dereferences them and breaks the layout).
The earlier app.tsx sed workaround is removed: it cannot help when
the issue is package duplication, and survives only as a no-op risk.
NODE_EXTRA_CA_CERTS in impureEnvVars is kept for the SSL/MITM proxy
fix from the previous commit.
hashes.json x86_64-linux recomputed for the new layout; the other
platforms still need to be filled in by update.sh / a maintainer
with access to those targets.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 931f4a2 commit 1daa051
1 file changed
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
87 | | - | |
88 | | - | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| |||
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 144 | | |
150 | 145 | | |
151 | 146 | | |
| |||
0 commit comments