Repository navigation
pnpm dev:web bug #11623
yanwencheng
started this conversation in
General
pnpm dev:web bug
#11623
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.
dsh version: 0.2.2-alpha.2-f3803c9-dirty
node version:24.9.0
pnpm version:11.28.5
源码使用pnpm run dev:web报错
run-gates: start native addon
run-gates: start Host Typert
run-gates: PASS native addon (1.08s)
run-gates: PASS Host Typert (12.40s)
run-gates: start host compiler
run-gates: PASS host compiler (64.89s)
run-gates: start Host bundle
run-gates: PASS Host bundle (10.99s)
run-gates: start Desktop bundle
run-gates: PASS Desktop bundle (2.72s)
run-gates: start client compiler
run-gates: PASS client compiler (47.01s)
run-gates: start Client bundle
run-gates: PASS Client bundle (13.24s)
run-gates: start Web build
run-gates: PASS Web build (7.57s)
run-gates: 8 passed, 0 failed, 0 skipped in 158.87s.
build: recorded 362 client artifact(s) with 3 public value(s)
node:internal/modules/run_main:123
triggerUncaughtException(
^
TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected a string, an ArrayBuffer, or a TypedArray to be returned for the "source" from the "load" hook but got null.
at validateLoad (node:internal/modules/customization_hooks:280:11)
at nextStep (node:internal/modules/customization_hooks:194:14)
at load (file:///E:/ideaWorkSpace/deepseek-harness/node_modules/.pnpm/import-without-cache@0.4.0/node_modules/import-without-cache/dist/index.mjs:38:11)
at nextStep (node:internal/modules/customization_hooks:189:26)
at loadWithHooks (node:internal/modules/customization_hooks:352:18)
at #loadSync (node:internal/modules/esm/loader:837:14)
at ModuleLoader.load (node:internal/modules/esm/loader:796:28)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:582:43)
at #createModuleJob (node:internal/modules/esm/loader:606:36)
at #getJobFromResolveResult (node:internal/modules/esm/loader:340:34) {
code: 'ERR_INVALID_RETURN_PROPERTY_VALUE'
}
Node.js v22.18.0
[ELIFECYCLE] Command failed with exit code 1.
PS E:\ideaWorkSpace\deepseek-harness> [12:25:48] Starting compilation in watch mode...
All reactions