If I run the command "npx convex dev" it won't run and there are no updates in the dashboard.
After writing all the code I ran this command "npx convex dev" as you can see the attached screenshot, it runs for 1 sec and suddenly stops and I am unable to see the changes in the dashboard also?

12 Replies
Do you have any system information? OS, Processor etc.?
OS: Windows 11
Processor: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
RAM: 16 GB
On Client Side Iam getting this error

@syedsharukhhussainy can you try https://learn.microsoft.com/en-us/windows/wsl/install instead of MinGW?
Install WSL
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
Okay I will try Thanksπ
I am using windows 11 OS, Is this for windows??
@Michal Srb I think this is not the solution or may be I am not getting your point? Can you explain me if possible?
The Convex CLI should work on Windows, and will definitely work on WSL. There could be an issue running it on MinGW.
You could also try setting the CONVEX_TMPDIR env variable (as the warning message suggest, to some location on your D: disk)
I have this issue on my mac, using node v20.14.0 and NextJs 14.2.4
as soon as I create my first .ts file it starts behaving this way
I was able to use the import command and insert test data
and most importantly convex at version 1.12.2
@Var& would you try this with --debug ?
it's an unknow flag,
error: unknown option '--debug'
npx convex dev --debug
I tried -v which prints which files are skipped@Var& I think Tom mean
npx convex dev -v
, can you paste the full command output please?
can you also share ls -al .
and ls -al convex
node v20.14.0
NextJs 14.2.4
yarn 4.3.0
convex 1.12.2
@Michal Srb and @ballingt
you can ignore this thread, I don't knwo what happened, I really dont know, after pushing my branch and merging it with main (yes broken branch), it starts to work. nothing is changed in code, I just ran
npx convex dev
on main branch and it started to compile. I have nothing to add πIt can be a network blip / bad connection.