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
{{ message }}
Repository navigation
pnpm global installs produce profiles with missing DSH packages
#7185
With pnpm install -g @deepseek-ai/dsh@0.1.2-rc.1 under pnpm 11 on macOS, every profile fails to boot, including DSH's own dsh --profile web, with missing @deepseek-ai/dsh-llm (and others).
Cause: healProfilesModuleFallback (packages/boot/app-boot/src/profile.ts:578-592) walks the CLI's dependency closure with require.resolve.paths from the CLI package's own location. pnpm 11's global layout keeps the CLI package under store/v11/links with its dependencies hoisted into the global instance's .pnpm/node_modules, which that walk does not reach. The healed $DSH_HOME/profiles/node_modules ends up with 68 of the packages and no dsh-llm.
Reproduced 2026-09-04 on macOS 27 arm64, pnpm 11.7.
Suggested fix: resolve the closure from the pnpm virtual-store instance (the realpath's .pnpm/node_modules sibling), or document that global pnpm installs are unsupported and npx/local installs are the path.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
With
pnpm install -g @deepseek-ai/dsh@0.1.2-rc.1under pnpm 11 on macOS, every profile fails to boot, including DSH's owndsh --profile web, with missing@deepseek-ai/dsh-llm(and others).Cause:
healProfilesModuleFallback(packages/boot/app-boot/src/profile.ts:578-592) walks the CLI's dependency closure withrequire.resolve.pathsfrom the CLI package's own location. pnpm 11's global layout keeps the CLI package understore/v11/linkswith its dependencies hoisted into the global instance's.pnpm/node_modules, which that walk does not reach. The healed$DSH_HOME/profiles/node_modulesends up with 68 of the packages and nodsh-llm.Reproduced 2026-09-04 on macOS 27 arm64, pnpm 11.7.
Suggested fix: resolve the closure from the pnpm virtual-store instance (the realpath's
.pnpm/node_modulessibling), or document that global pnpm installs are unsupported and npx/local installs are the path.All reactions