Does convex support typescript 5.6?
Getting the following error on
npx convex dev
:
7 Replies
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!
Seeing this from TypeScript 5.6 announcement
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)...
@maxparelius Oh! Ok let's fix that
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-L408GitHub
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.
@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
flagOk sounds good thanks!