Skip to content

Commit de167fb

Browse files
committed
pin node-gyp undici to fix native build crash
1 parent 9ef7ae3 commit de167fb

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ overrides:
7878
# catalog protocol leaked into the published package and can't resolve for an
7979
# external dep); pin it to a real version so installs of quill succeed.
8080
'@posthog/quill>@base-ui/react': ^1.3.0
81+
# node-gyp 12 downloads Node headers via undici (^6.25.0). undici through 7.27.2
82+
# crashes intermittently with `assert(!this.paused)` in the H1 parser's finish()
83+
# when the socket ends while the body stream is paused, which happens when a
84+
# native module compiles from source under backpressure (e.g. node-pty in CI).
85+
# undici 8.4.1 dropped that assertion and handles the paused case gracefully;
86+
# node-gyp only uses stable public exports (fetch/Agent), so 8.x is safe.
87+
'node-gyp>undici': 8.4.1
8188

8289
onlyBuiltDependencies:
8390
- '@parcel/watcher'

0 commit comments

Comments
 (0)