Replies: 3 comments 2 replies
|
每次更新完都得clean之后才能build通过 |
|
ive been hitting the same four [MISSING_EXPORT] errors on every build for the past 3 days (pnpm run build). Last commit was; git log Note that "../session-persistence/src/index.ts" does not contain any of the four missing exports "DEFAULT_PREPARED_SESSION_CACHE_SIZE" node v24.19.0 ubuntu 24.02ERROR Error: Build failed with 4 errors: [MISSING_EXPORT] "DEFAULT_PREPARED_SESSION_CACHE_SIZE" is not exported by "../session-persistence/src/index.ts". [MISSING_EXPORT] "DEFAULT_WRITE_BATCH_MAX_DELAY_MS" is not exported by "../session-persistence/src/index.ts". [MISSING_EXPORT] "MAX_WRITE_BATCH_DELAY_MS" is not exported by "../session-persistence/src/index.ts". [MISSING_EXPORT] "PersistenceCoordinator" is not exported by "../session-persistence/src/index.ts". |
Uh oh!
There was an error while loading. Please reload this page.
rc2会用坏插件, rc3, rc4不会 然后今天升了rc5, 又build不通过了
ERROR Error: Build failed with 4 errors:
[MISSING_EXPORT] "DEFAULT_PREPARED_SESSION_CACHE_SIZE" is not exported by "../session-persistence/src/index.ts".
╭─[ lib/types/index.js:8:10 ]
│
8 │ import { DEFAULT_PREPARED_SESSION_CACHE_SIZE, DEFAULT_WRITE_BATCH_MAX_DELAY_MS, MAX_WRITE_BATCH_DELAY_MS, PersistenceCoordinator, SessionPe
rsistence, } from '@deepseek-ai/dsh-session-persistence';
│ ─────────────────┬─────────────────
│ ╰─────────────────── Missing export
───╯
[MISSING_EXPORT] "DEFAULT_WRITE_BATCH_MAX_DELAY_MS" is not exported by "../session-persistence/src/index.ts".
╭─[ lib/types/index.js:8:47 ]
│
8 │ import { DEFAULT_PREPARED_SESSION_CACHE_SIZE, DEFAULT_WRITE_BATCH_MAX_DELAY_MS, MAX_WRITE_BATCH_DELAY_MS, PersistenceCoordinator, SessionPe
rsistence, } from '@deepseek-ai/dsh-session-persistence';
│ ────────────────┬───────────────
│ ╰───────────────── Missing export
───╯
[MISSING_EXPORT] "MAX_WRITE_BATCH_DELAY_MS" is not exported by "../session-persistence/src/index.ts".
╭─[ lib/types/index.js:8:81 ]
│
8 │ import { DEFAULT_PREPARED_SESSION_CACHE_SIZE, DEFAULT_WRITE_BATCH_MAX_DELAY_MS, MAX_WRITE_BATCH_DELAY_MS, PersistenceCoordinator, SessionPe
rsistence, } from '@deepseek-ai/dsh-session-persistence';
│ ────────────┬───────────
───╯
[MISSING_EXPORT] "PersistenceCoordinator" is not exported by "../session-persistence/src/index.ts".
╭─[ lib/types/index.js:8:107 ]
│
8 │ import { DEFAULT_PREPARED_SESSION_CACHE_SIZE, DEFAULT_WRITE_BATCH_MAX_DELAY_MS, MAX_WRITE_BATCH_DELAY_MS, PersistenceCoordinator, SessionPe
rsistence, } from '@deepseek-ai/dsh-session-persistence';
│ ───────────┬──────────
│ ╰──────────── Missing
export
───╯
red/error-C0TrL0_H.mjs:48:18)
at unwrapBindingResult (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/rolldown@1.1.1/node_modules/rolldown/dist/shared/error-C0Tr
L0_H.mjs:18:128)
at #build (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/rolldown@1.1.1/node_modules/rolldown/dist/shared/rolldown-build-abS241_6
.mjs:3288:34)
at async build (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/rolldown@1.1.1/node_modules/rolldown/dist/index.mjs:42:22)
at async Promise.all (index 0)
at async buildSingle (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/tsdown@0.22.2_oxc-resolver@_f113eb69000457c8d5954142d0822f52/
node_modules/tsdown/dist/build-BxT2lm9L.mjs:791:19)
at async Promise.all (index 144)
at async buildWithConfigs (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/tsdown@0.22.2_oxc-resolver@_f113eb69000457c8d5954142d082
2f52/node_modules/tsdown/dist/build-BxT2lm9L.mjs:747:18)
at async CAC. (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/tsdown@0.22.2_oxc-resolver@_f113eb69000457c8d5954142d0822
f52/node_modules/tsdown/dist/run.mjs:21:2)
at async runCLI (file:///E:/works/kun/deepseek-harness/node_modules/.pnpm/tsdown@0.22.2_oxc-resolver@f113eb69000457c8d5954142d0822f52/node
modules/tsdown/dist/run.mjs:45:3)
[ELIFECYCLE] Command failed with exit code 1.
E:\works\kun\deepseek-harness\scripts\build.ts:27
throw new Error(
build: ${script} exited with ${String(result.status ?? result.signal)})^
Error: build: build:lib exited with 1
at runScript (E:\works\kun\deepseek-harness\scripts\build.ts:27:11)
at main (E:\works\kun\deepseek-harness\scripts\build.ts:44:3)
at (E:\works\kun\deepseek-harness\scripts\build.ts:52:23)
at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
at async node:internal/modules/esm/loader:639:26
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)
Node.js v24.15.0
[ELIFECYCLE] Command failed with exit code 1.
All reactions