Skip to content

HAMUR_E0202: vue-tsc or svelte-check meets TypeScript 7

vue-tsc or svelte-check meets TypeScript 7. Error HAMUR_E0202 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0202 hamur typecheck: <checker> cannot run with typescript <version> (it loads typescript/lib/tsc.js, which TypeScript 7 does not ship); set "typescript": "~6.0.3" in devDependencies and run bun install

Cause

The app's typescript is version 7 or later, and vue-tsc and svelte-check load typescript/lib/tsc.js, which TypeScript 7 does not ship.

Fix

Set "typescript": "~6.0.3" in devDependencies and run bun install.