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
"## Summary\n\nnpx @deepseek-ai/dsh web fails to start on Linux x64: the bundled node-pty native module pty.node is missing, so the subprocess plugin (@deepseek-ai/dsh-subprocess-local) fails to load and the whole plugin tree fails to boot.\n\n## Environment\n\n- OS: Arch Linux x86_64 (kernel 7.1.7-arch1-1)\n- Node: v26.7.0\n- npm: 12.0.2\n- Package: @deepseek-ai/dsh (latest, via npx) \u2192 node-pty@1.1.0\n- npx cache: ~/.npm/_npx/1e7f6d9597241db0/\n\n## Error\n\n\nError: dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include):\nfailed to import loader entry subprocess (@deepseek-ai/dsh-subprocess-local):\nFailed to load native module: pty.node, checked: build/Release, build/Debug,\nprebuilds/linux-x64: Error: Cannot find module './prebuilds/linux-x64//pty.node'\n\n\n## Root cause\n\nThe node-pty@1.1.0 npm package installed into the npx cache contains no Linux prebuilt binary \u2014 its prebuilds/ directory only ships:\n\n\ndarwin-arm64/\ndarwin-x64/\nwin32-arm64/\nwin32-x64/\n\n\nThere is no prebuilds/linux-x64/ and no build/ directory (nothing was compiled from source either).\n\nnode-pty's install script is node scripts/prebuild.js || node-gyp rebuild; prebuild.js only checks for the existence of the platform prebuild dir and exits 1 when it is missing, which should trigger the node-gyp rebuild fallback. In the npx install context that fallback did not produce a binary (no build/Release/pty.node), so at runtime the module loader fails.\n\n## Workaround\n\nRebuild manually inside the npx cache:\n\n\ncd ~/.npm/_npx/<hash>/node_modules/node-pty\nnode-gyp rebuild\n\n\nAfter that, npx @deepseek-ai/dsh web starts and serves http://127.0.0.1:3080 correctly.\n\n## Suggested fix\n\n- Ship linux-x64 (and ideally linux-arm64) prebuilds in the node-pty npm tarball used by dsh, or\n- Make the build-from-source fallback reliable during install (e.g. fail the install loudly when neither a prebuild nor a successful compile is available), or\n- Ensure node-gyp prerequisites are enforced/checked with a clear error message instead of silently proceeding with a missing native module.\n"
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.
"## Summary\n\n
npx @deepseek-ai/dsh webfails to start on Linux x64: the bundlednode-ptynative modulepty.nodeis missing, so thesubprocessplugin (@deepseek-ai/dsh-subprocess-local) fails to load and the whole plugin tree fails to boot.\n\n## Environment\n\n- OS: Arch Linux x86_64 (kernel 7.1.7-arch1-1)\n- Node: v26.7.0\n- npm: 12.0.2\n- Package:@deepseek-ai/dsh(latest, via npx) \u2192node-pty@1.1.0\n- npx cache:~/.npm/_npx/1e7f6d9597241db0/\n\n## Error\n\n\nError: dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include):\nfailed to import loader entry subprocess (@deepseek-ai/dsh-subprocess-local):\nFailed to load native module: pty.node, checked: build/Release, build/Debug,\nprebuilds/linux-x64: Error: Cannot find module './prebuilds/linux-x64//pty.node'\n\n\n## Root cause\n\nThenode-pty@1.1.0npm package installed into the npx cache contains no Linux prebuilt binary \u2014 itsprebuilds/directory only ships:\n\n\ndarwin-arm64/\ndarwin-x64/\nwin32-arm64/\nwin32-x64/\n\n\nThere is noprebuilds/linux-x64/and nobuild/directory (nothing was compiled from source either).\n\nnode-pty's install script isnode scripts/prebuild.js || node-gyp rebuild;prebuild.jsonly checks for the existence of the platform prebuild dir and exits 1 when it is missing, which should trigger thenode-gyp rebuildfallback. In the npx install context that fallback did not produce a binary (nobuild/Release/pty.node), so at runtime the module loader fails.\n\n## Workaround\n\nRebuild manually inside the npx cache:\n\n\ncd ~/.npm/_npx/<hash>/node_modules/node-pty\nnode-gyp rebuild\n\n\nAfter that,npx @deepseek-ai/dsh webstarts and serveshttp://127.0.0.1:3080correctly.\n\n## Suggested fix\n\n- Shiplinux-x64(and ideallylinux-arm64) prebuilds in thenode-ptynpm tarball used by dsh, or\n- Make the build-from-source fallback reliable during install (e.g. fail the install loudly when neither a prebuild nor a successful compile is available), or\n- Ensurenode-gypprerequisites are enforced/checked with a clear error message instead of silently proceeding with a missing native module.\n"All reactions