Problem with tsconfig.json
i just added convex to my big project and i get this error Specified 'include' paths were '[".//*"]' and 'exclude' paths were '["./_generated"]'., i added "src//*" but still not working
9 Replies
is this the tsconfig at convex/tsconfig.json? What error do you get if you undo from the originally generated one, without this src/ change? This file is used for compiling the files in the convex/ directory, not the rest of your project so you don't want to add src
No inputs were found in config file 'c:/Users/giannis/Desktop/GuessGame/my-app/convex/tsconfig.json'. Specified 'include' paths were '["./*/"]' and 'exclude' paths were '["./_generated"]'.
without changing anything
cool, that looks like an error but it's fine
you just need to add your first query or mutation
yes its big error
i doesnt stop the compiling
yeah we could improve this by generating an initial query during setup
helpful to hear
👍
Does it go away once you write your first query in the convex directory?
nope
Could you paste the whole error here, the command you're running, the contents of the convex directory, and the contents of the tsconfig.json? Those are all the pieces we'd need to guess — but also are you able to make progress without this, do you have a convex query hooked up and working?