Daniel
Daniel
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
So that the starter code is now at the top level of the previously empty directory that I recently cloned
19 replies
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
Oh yeah, I guess this is my normal flow for starter kit type projects (possibly there are better ways): 1. Clone my own empty git repo 2. From there, npm create … 3. Go with default folder name “my-app” 4. Now move all the contents of my-app up a level, delete the empty directory. I happen to do that operation in vscode (opening one level up)
19 replies
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
Yes, I just grabbed everything in VSCode and moved it up a directory.
19 replies
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
Oh, ok I see - I had move all the files from the original directory up one directory. I just did that again and it caused the same error. Seems like I need to run npx convex dev in the directory again after moving the files. Do you know why that might be?
19 replies
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
Anyways, for now I think I'm good 🙂 Thank you!
19 replies
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
I was a bit confused about the need for npx convex dev because the quickstart CLI itself doesn't seem to mention it, it directs you straight to npm run dev. I think similar comments were made here: https://discord.com/channels/1019350475847499849/1285192598985769020
19 replies
CCConvex Community
Created by Daniel on 2/26/2025 in #support-community
Typescript errors on Vite Quickstart
yes. However, I gave it a second try and now things are working. I'm not sure what I did differently this time, but it was something like npm create convex@latest followed by npx convex dev followed by npm run dev
19 replies