Nana
Nana14mo ago

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
No description
No description
7 Replies
erquhart
erquhart14mo ago
Are you running npx convex dev on your local machine, or using a remote device server like CodeSandbox
lee
lee14mo ago
you 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
Nana
NanaOP14mo ago
I'm running it using remote server codespace
erquhart
erquhart14mo ago
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.
Nana
NanaOP14mo ago
I thought that I can use the remote ide. Let me use local IDE. Thank you.
erquhart
erquhart14mo ago
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.
Nana
NanaOP14mo ago
Let me do that also. I appreciate your support. Thank you for your time.

Did you find this page helpful?