I'd:
I'd:
- Make sure that
npx convex dev
is running successfully (it does a little codegen that might have different results between your branches)
- Restart TypeScript server in VS Code (as it is a fickle mistress)5 Replies
TS server restart brings the same errors back, and I can't get the dev command to run successfully because all of the convex errors
What errors are you getting on the CLI from
convex dev
?Looks to be two types of issues...
first, something with the query syntax is breaking. any query that uses a composite index is throwing an error on the second
.eq()
.
Second, I'm getting type errors on returned values. Something seems to not want to be converting from the internal types back to the "nice" values
It's just strange that it thinks that .eq()
is returning an IndexRange
, and not the NextIndexRangeBuilder
. I'm just not as familiar to really drill into whydid something happen with your schema.ts file? both of these errors indicate the schema.ts has problems. you could try a
npx convex codegen
which may work to generate code without typechecking.(or
npx convex dev --typecheck=disable
)