You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Transpile-only doesn't work without tsconfig.json #2124
TSError: ⨯ Unable to compile TypeScript:
error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.
which cause the problem.
Seems that the config is created by typescript, which can refer to this doc, but i cannot quite figure it out.
And to solve the problem, the recommended way is to specific a tsconfig.json in your project.
Activity
leaft commentedon Sep 18, 2025
Same issue. I checked the default config with
--showConfig, found the default compilerOptions config contains these two options:which cause the problem.
Seems that the config is created by typescript, which can refer to this doc, but i cannot quite figure it out.
And to solve the problem, the recommended way is to specific a
tsconfig.jsonin your project.