npm 全局安装后 dsh web 启动失败:node-pty 原生模块 pty.node 缺失 #1219
Ninomoriaty
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Linux 上 npm 全局安装 dsh 后,dsh web 直接报错退出,原因是 node-pty 的原生模块 pty.node 不存在。
复现步骤:
实际结果:
Error: dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include):
failed to import loader entry subprocess (@deepseek-ai/dsh-subprocess-local):
Failed to load native module: pty.node, checked: build/Release, build/Debug, prebuilds/linux-x64:
Error: Cannot find module './prebuilds/linux-x64//pty.node'
根因分析:
预期结果:
环境:
验收条件:
复现、预期与验收
实际结果:
Error: dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include):
failed to import loader entry subprocess (@deepseek-ai/dsh-subprocess-local):
Failed to load native module: pty.node, checked: build/Release, build/Debug, prebuilds/linux-x64:
Error: Cannot find module './prebuilds/linux-x64//pty.node'
根因分析:
预期结果:
环境:
验收条件:
、dsh web 正常,可作为修复路径参考。
All reactions