Replies: 1 comment 3 replies
|
我在手动创建git后正常了 |
3 replies
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.
在Release中下载的.zip包(deepseek-harness-dsh-v0.1.0-rc.8)中无法直接构建,因为其中没有git信息,详细错误如下,我建议增加git信息或者更改安装脚本
pnpm install
pnpm run build
pnpm dsh web
native/landlock-run/packages/linux-arm64 | [WARN] Unsupported platform: wanted: {"cpu":["arm64"],"os":["linux"],"libc":["any"]} (current: {"os":"darwin","cpu":"arm64","libc":"unknown"})
native/landlock-run/packages/linux-x64 | [WARN] Unsupported platform: wanted: {"cpu":["x64"],"os":["linux"],"libc":["any"]} (current: {"os":"darwin","cpu":"arm64","libc":"unknown"})
Scope: all 245 workspace projects
Already up to date
Done in 253ms using pnpm v11.7.0
$ tsx scripts/build.ts
node:internal/errors:983
const err = new Error(message);
^
Error: Command failed: git rev-parse HEAD
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:916:11)
at execFileSync (node:child_process:952:15)
at repositoryCommitHash (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/scripts/client-build-environment.ts:49:29)
at main (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/scripts/build.ts:41:29)
at (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/scripts/build.ts:55:23)
at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:681:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) {
status: 128,
signal: null,
output: [ null, '', null ],
pid: 26354,
stdout: '',
stderr: null
}
Node.js v22.22.3
[ELIFECYCLE] Command failed with exit code 1.
$ node --import tsx/esm apps/cli/src/bin.ts web
/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/boot/app-boot/src/index.ts:800
throw new Error(
${binName}: ${stage}: ${detail}${stack}, { cause })^
Error: dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include): loader entries failed to apply
AggregateError: loader entries failed to apply
at EntryGroup.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:80:38)
at async Include._apply (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/include/src/index.ts:317:5)
at boot (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/boot/app-boot/src/index.ts:800:11)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async runProfile (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/apps/cli/src/profile-boot.ts:248:15)
at async (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/apps/cli/src/bin.ts:32:5) {
[cause]: Error: failed to apply loader entry include (cordis:include): loader entries failed to apply
at updateError (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:26:10)
at Entry._init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:287:13)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async Entry.init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:261:7)
at async Entry.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:172:41)
at async EntryGroup.create (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:30:7)
at async Proxy.create (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/tree.ts:99:16)
at async mountRootInclude (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/boot/app-boot/src/index.ts:523:21)
at async boot (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/boot/app-boot/src/index.ts:774:5)
at async runProfile (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/apps/cli/src/profile-boot.ts:248:15) {
[cause]: AggregateError: loader entries failed to apply
at EntryGroup.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:80:38)
at async Include._apply (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/include/src/index.ts:317:5) {
[errors]: [
Error: failed to apply loader entry directory-picker (@deepseek-ai/dsh-host-directory-picker-auto): failed to import loader entry 4f3d2a03 (@deepseek-ai/dsh-client-ui-directory-picker-native): Cannot find module '/Users/zhouziyi/.dsh/profiles/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/lib/index.js' imported from /Users/zhouziyi/.dsh/profiles/web/
at updateError (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:26:10)
at Entry._init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:287:13)
at async Entry.init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:261:7)
at async Entry.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:172:41)
at async EntryGroup.create (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:30:7)
at async Promise.allSettled (index 89)
at async EntryGroup.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:71:24)
at async Include._apply (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/include/src/index.ts:317:5) {
[cause]: Error: failed to import loader entry 4f3d2a03 (@deepseek-ai/dsh-client-ui-directory-picker-native): Cannot find module '/Users/zhouziyi/.dsh/profiles/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/lib/index.js' imported from /Users/zhouziyi/.dsh/profiles/web/
at updateError (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:26:10)
at Entry._init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:282:13)
at async Entry.init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:261:7)
at async Entry.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:172:41)
at async EntryGroup.create (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:30:7)
at async Proxy.create (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/tree.ts:99:16)
at async Fiber. (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/host/directory-picker-auto/src/index.ts:87:18) {
[cause]: [Error]
}
},
Error: failed to apply loader entry web-runtime (@deepseek-ai/dsh-web-app): web-app: frontend dist not built; run pnpm run build from the repository root first
at updateError (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:26:10)
at Entry._init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:287:13)
at async Entry.init (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:261:7)
at async Entry.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/entry.ts:172:41)
at async EntryGroup.create (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:30:7)
at async Promise.allSettled (index 95)
at async EntryGroup.update (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/loader/src/config/group.ts:71:24)
at async Include._apply (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/include/src/index.ts:317:5) {
[cause]: Error: web-app: frontend dist not built; run pnpm run build from the repository root first
at Object.resolveDistIndex (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/bundle/web-app/src/index.ts:169:11)
at new apply (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/packages/bundle/web-app/src/index.ts:233:53)
at Fiber.execute (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/cordis/src/fiber.ts:253:30)
at (/Users/zhouziyi/deepseek-harness-dsh-v0.1.0-rc.8/vendor/cordis/src/fiber.ts:366:45)
at file:///Users/zhouziyi/.dsh/profiles/web/#web-runtime
at file:///Users/zhouziyi/.dsh/profiles/web/#include
}
]
}
}
}
Node.js v22.22.3
[ELIFECYCLE] Command failed with exit code 1.
设备:MacBook Air M4
操作系统版本:macOS 26.3 (25D125)
All reactions