You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundleDependencies right now only work with node-linker=hoisted (you may add node-linker=hoisted to .npmrc). It is our oversight that we did not error when user tries it without node-linker=hoisted.
Verify latest release
pnpm version
v9.0.6
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI, Package manager compatibility
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Try to
pnpm pack
package with installed dependencies withpnpm
with bundled dependencies.Describe the Bug
Pnpm not bundling subdependencies (node_modules/package/node_modules) like in photo.
Package.json:
Pnpm:
Npm:
The issue could be coused by pnpm linking strategy.
when using
npm pack
node_modules installed by pnpm breaks the.tgz
archive.Expected Behavior
Pnpm should also bundle subdependencies (node_modules/package/node_modules) like npm.
Which Node.js version are you using?
v20.10.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Arch Linux
The text was updated successfully, but these errors were encountered: