Repository navigation
fix: update @pnpm/napi to 12.0.0-rc.8 to fix hoisted layouts - #120
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 brokennode_moduleslayouts when a version-conflicted package is depended on by several packages — the known symptom was bit crashing at startup withERR_IMPORT_ATTRIBUTE_MISSING/Named export 'npmRunPathEnv' not found, because a conflict-nested ESMexecaresolved the root-hoisted CommonJSnpm-run-path@4instead 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 nestedexeca@9now imports cleanly, each with its ownnpm-run-path@6beside 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.yamlchurn beyond the napi entries is the usual regeneration drift frombit install(same class of diff as previous lockfile commits).🤖 Generated with Claude Code