Ubuntu 26.04 LTS安装失败 #177
zephyrzoom
started this conversation in
General
Replies: 1 comment 1 reply
|
你试试pnpm -w i node-pty呢? |
1 reply
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.
npx @deepseek-ai/dsh web
npm notice run npx
npm notice run 'dsh' web
file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js:1186
throw new Error(
${binName}: ${stage}: ${detail}${stack}, { cause });^
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'
Require stack:
Error: Failed to load native module: pty.node, checked: build/Release, build/Debug, prebuilds/linux-x64: Error: Cannot find module './prebuilds/linux-x64//pty.node'
Require stack:
at Object.loadNativeModule (/home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/node-pty/lib/utils.js:36:11)
at Object. (/home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/node-pty/lib/unixTerminal.js:27:22)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1576:12)
at require (node:internal/modules/helpers:153:16)
at Object. (/home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/node-pty/lib/index.js:15:20)
at boot (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js:1186:9)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async runProfile (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/dsh/lib/profile-boot-DG5t9aNs.js:247:14)
at async file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/dsh/lib/bin.js:133:3 {
[cause]: Error: 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'
Require stack:
at updateError (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:299:9)
at Entry._init (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:519:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
[cause]: Error: 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'
Require stack:
at updateError (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:299:9)
at Entry._init (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:514:10)
at async Entry.init (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:495:4)
at async Entry.update (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:416:37)
at async EntryGroup.create (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:55:4)
at async Promise.allSettled (index 22)
at async EntryGroup.update (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js:87:21)
at async Include._apply (file:///home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js:238:3) {
[cause]: Error: Failed to load native module: pty.node, checked: build/Release, build/Debug, prebuilds/linux-x64: Error: Cannot find module './prebuilds/linux-x64//pty.node'
Require stack:
at Object.loadNativeModule (/home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/node-pty/lib/utils.js:36:11)
at Object. (/home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/node-pty/lib/unixTerminal.js:27:22)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1576:12)
at require (node:internal/modules/helpers:153:16)
at Object. (/home/zzq/.npm/_npx/1e7f6d9597241db0/node_modules/node-pty/lib/index.js:15:20)
}
}
}
Node.js v24.15.0
All reactions