Error: "spawn xdg-open ENOENT"
Hi @everyone, I was login using
npx convex dev
but every time, I run, I get this issues. I even using the link provided
But I can't access my database on convex

7 Replies
Are you running
npx convex dev
on your local machine, or using a remote device server like CodeSandboxyou could try isolating the issue by just doing the login step and not having the terminal interact with the browser
npx convex login --no-open
I'm running it using remote server codespace
Yeah, that's why you're getting that error, the remote server can't open your local browser. Lee's solution is the way to go.
I thought that I can use the remote ide. Let me use local IDE. Thank you.
You can definitely use a remote IDE! You'll just need to use the
--no-open
flag that Lee recommended, so the remote IDE doesn't attempt to open a browser on the remote machine. If you use that flag, you can just click the link that prints out in the CLI.Let me do that also. I appreciate your support. Thank you for your time.