Sanaanسنی
Sanaanسنی3w ago

Is there anyway to prevent the convex window from opening up every time I run the app in dev?

Basically on every run dev command, the convex window opens up and fills up my tabs pretty quickly. Any way to prevent that window from opening up?
10 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Clever Tagline
Could you elaborate on what's happening? What's the exact command that you're running? From my experience the only time that the Convex site should open when running any CLI command is if it needs to authenticate your account. From that point on, running npx convex dev doesn't need to open the site, as the credentials are stored locally. You say it "fills up my tabs pretty quickly." How many tabs are opening? I've only ever seen a single tab open. Once the authentication is complete, you can close the tab.
Sanaanسنی
SanaanسنیOP2w ago
Every time I do "npm run dev", this window always pop up open. Even if I am signed in, it still keeps opening up tabs of the convex site
No description
Sanaanسنی
SanaanسنیOP2w ago
Basically if I kill the program and rerun the command, the site repeatedly opens up in a new tab.
Clever Tagline
What's the dev script from your package.json file? And just to check, are you using the standard cloud deployment, or are you trying to deploy locally?
Sanaanسنی
SanaanسنیOP2w ago
Standard cloud deployment and : "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, Im using next.js
Clever Tagline
How are you launching Convex in dev mode?
Sanaanسنی
SanaanسنیOP7d ago
npm run dev with cloud deployment
Clever Tagline
That’s how you’re launching the app. I asked how you’re launching Convex.
erquhart
erquhart6d ago
Grep your codebase for "convex dashboard", you likely have a script inherited from a template somewhere that's running that command on dev.

Did you find this page helpful?