Skip to content

fix: update @pnpm/napi to 12.0.0-rc.8 to fix hoisted layouts - #120

Merged
zkochan merged 1 commit into
mainfrom
bump-napi-rc8
Aug 20, 2026
Merged

zkochan merged 1 commit into
mainfrom
bump-napi-rc8

Conversation

@zkochan

@zkochan zkochan commented Aug 20, 2026

Copy link
Copy Markdown
Member

Bumps the pnpm engine to @pnpm/[email protected], which includes the pacquet hoister fixes from pnpm/pnpm#14039. Bit versions installed by bvm no longer get broken node_modules layouts when a version-conflicted package is depended on by several packages — the known symptom was bit crashing at startup with ERR_IMPORT_ATTRIBUTE_MISSING / Named export 'npmRunPathEnv' not found, because a conflict-nested ESM execa resolved the root-hoisted CommonJS npm-run-path@4 instead of its own v6 (e.g. this CircleCI failure).

Verified by replaying the bit 2.0.82 install through this exact engine build (same options as installWithPnpm): every nested execa@9 now imports cleanly, each with its own npm-run-path@6 beside it. Full-lockfile resolution validation of the new hoister on bit 2.0.82: 185 wrong resolutions with rc.7 → 0 with rc.8.

Note: already-installed bit versions keep their old (broken) layout — CI caches of ~/.bvm/versions/* and existing installs need a reinstall with the updated bvm to heal.

The pnpm-lock.yaml churn beyond the napi entries is the usual regeneration drift from bit install (same class of diff as previous lockfile commits).

🤖 Generated with Claude Code

rc.8 includes the pacquet hoister fixes from pnpm/pnpm#14039: bit
versions installed by bvm no longer get broken node_modules layouts
when a version-conflicted package is shared by several dependents.
The known symptom was bit crashing at startup with
ERR_IMPORT_ATTRIBUTE_MISSING (or a named-export SyntaxError) because
a conflict-nested ESM execa resolved the root-hoisted CommonJS
npm-run-path@4 instead of its own v5/v6.

Verified by replaying the bit 2.0.82 install through the engine with
this exact version: every nested execa now imports cleanly with its
own npm-run-path copy beside it.

Already-installed versions keep their old layout; reinstalling them
with the updated bvm heals it.

Co-Authored-By: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant