Dashboard typecheck is broken: typescript 7 is not supported by vue-tsc #1058

Closed
opened 2026-10-27 13:38:51 +00:00 by sam · 0 comments
Owner

ui/package.json pins typescript ^7.0.2 and vue-tsc ^3.3.11. vue-tsc 3.3.12 loads typescript's compiler through require('typescript/lib/tsc'), and typescript 7 no longer exports ./lib/tsc, so both npm run typecheck and tools/uidist.sh check fail:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tsc' is not defined by "exports" in .../typescript/package.json

vue-tsc declares peerDependencies typescript >=5.0.0, which is too wide; it is not actually compatible with 7.

Impact: task check cannot pass its test:ui and ui:check steps for any change.

Fix options: pin typescript to the latest 5.x (the range vue-tsc actually supports) and refresh the lockfile, or move the dashboard's typecheck to a TS7-compatible tool. Verify by running task ui:check and task test:ui.

Evidence: ui/package.json, ui/node_modules/typescript/package.json, ui/node_modules/vue-tsc/package.json, and the error above reproduced by task ui:check.

Close reason

Fixed in 583cc876 (fix(ui): clean dependencies and add task table sorting): typescript moved from ^7.0.2 to ~6.0.3, which restores the line vue-tsc 3.3.12 can load. Verified: npm run typecheck passes, task ui:check reports ui/dist matches a fresh build, and task check is green on HEAD. Note the fix also removed shadcn-vue and added @tanstack/vue-table in the same commit.


Imported from beads archie-core-4kry · GitHub #1512 · type bug · priority P1 · created 2026-10-09 · closed 2026-10-09

ui/package.json pins typescript ^7.0.2 and vue-tsc ^3.3.11. vue-tsc 3.3.12 loads typescript's compiler through require('typescript/lib/tsc'), and typescript 7 no longer exports ./lib/tsc, so both npm run typecheck and tools/uidist.sh check fail: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tsc' is not defined by "exports" in .../typescript/package.json vue-tsc declares peerDependencies typescript >=5.0.0, which is too wide; it is not actually compatible with 7. Impact: task check cannot pass its test:ui and ui:check steps for any change. Fix options: pin typescript to the latest 5.x (the range vue-tsc actually supports) and refresh the lockfile, or move the dashboard's typecheck to a TS7-compatible tool. Verify by running task ui:check and task test:ui. Evidence: ui/package.json, ui/node_modules/typescript/package.json, ui/node_modules/vue-tsc/package.json, and the error above reproduced by task ui:check. ### Close reason Fixed in 583cc876 (fix(ui): clean dependencies and add task table sorting): typescript moved from ^7.0.2 to ~6.0.3, which restores the line vue-tsc 3.3.12 can load. Verified: npm run typecheck passes, task ui:check reports ui/dist matches a fresh build, and task check is green on HEAD. Note the fix also removed shadcn-vue and added @tanstack/vue-table in the same commit. --- _Imported from beads `archie-core-4kry` · GitHub #1512 · type bug · priority P1 · created 2026-10-09 · closed 2026-10-09_
sam added the highbug labels 2026-10-27 13:38:51 +00:00
sam self-assigned this 2026-10-27 13:38:51 +00:00
sam closed this issue 2026-10-27 13:38:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1058