maxparelius
maxparelius3mo ago

Does convex support typescript 5.6?

Getting the following error on npx convex dev:
[ERROR] No loader is configured for ".tsbuildinfo" files: convex/tsconfig.tsbuildinfo
[ERROR] No loader is configured for ".tsbuildinfo" files: convex/tsconfig.tsbuildinfo
7 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
maxparelius
maxpareliusOP3mo ago
Seeing this from TypeScript 5.6 announcement
No description
maxparelius
maxpareliusOP3mo ago
GitHub
Always write tsbuildInfo when running tsc -b by sheetalkamat · Pull...
For now it only contains version but with plan to add more info about program for tsc -b uptodateness. In future this can be used to: Remove necessity that composite must list all files (probably)...
ballingt
ballingt3mo ago
@maxparelius Oh! Ok let's fix that
ballingt
ballingt3mo ago
This is happening because we try to bundle up convex/tsconfig.tsbuildinfo as an convex API module, in https://github.com/get-convex/convex-js/blob/c82e0f93e446689af8f3a6f474272d77bd78d9f9/src/bundler/index.ts#L373-L408
GitHub
convex-js/src/bundler/index.ts at c82e0f93e446689af8f3a6f474272d77b...
TypeScript/JavaScript client library for Convex. Contribute to get-convex/convex-js development by creating an account on GitHub.
ballingt
ballingt3mo ago
@maxparelius as a workaround until the new client release (probably Sunday or Monday) you can use an older TypeScript version or not use the -b flag
maxparelius
maxpareliusOP3mo ago
Ok sounds good thanks!

Did you find this page helpful?