em_errata
em_errata•12mo ago

Can't access dev instance of project

Please advise...
No description
18 Replies
ballingt
ballingt•12mo ago
Hi @em_errata, thanks for reporting. We can see this, we're looking at fixing.
em_errata
em_errataOP•12mo ago
Thanks for jumping in, tom
ballingt
ballingt•12mo ago
You may be able to work around it for now by removing an npm dependency or two from your project or, if this is for a Node.js action, specifying packages as external https://docs.convex.dev/functions/bundling#specifying-external-packages
Bundling | Convex Developer Hub
Bundling is the process of gathering, optimizing and transpiling the JS/TS
ballingt
ballingt•12mo ago
You'd need to make this change and deploy that code from the CLI (npx convex dev or npm run dev or similar)
em_errata
em_errataOP•12mo ago
it appears to have cut down on my deployment speed, but I wasn't really having much difficulty deploying. It's the part where I can't access my dev environment from the dashboard console
ballingt
ballingt•12mo ago
It looks like the dashboard problem is because of the side of your code
em_errata
em_errataOP•12mo ago
that's comforting 😄
ballingt
ballingt•12mo ago
so I'm hoping pushing less code (really, fewer dependencies since you're probably not hand-authoring 50MB of code) fixes the dashboard issue.
em_errata
em_errataOP•12mo ago
really hate to think that twilio and zod are consuming that much bandwidth...
ballingt
ballingt•12mo ago
we should expose bundle analysis tools by allowing the esbuild bundler invocation to be customized (or package it up into just a command line flag) to help with this you can do a deploy with --debug to see some info but it's not enough information to assign blame to dependencies there are also some unintuitive details like Node.js code being bundled separately from Convex actions, queries, and mutations but this is something we'll fix, all this is workarounds for you atm
em_errata
em_errataOP•12mo ago
those appear to be the only external dependencies(direct dependencies) and while that's drastically improved deploy times, my dev console won't load...
ballingt
ballingt•12mo ago
after a push can you see the dashboard? huh, that's interesting
em_errata
em_errataOP•12mo ago
just using convex dev I only have one module that's using the node runtime, though...
ballingt
ballingt•12mo ago
depending on what's more useful to you, you could try deleting your "use node"; module or try commenting out all imports of twilio; if that unblocks your use of the dev console until we fix this tomorrow also we'd be interested in a repro, does this happen to be an open source project? or could you share it?
em_errata
em_errataOP•12mo ago
unfortunately I wouldn't be able to share much in terms of source code. I can share the depenedencies, though sure, enough... commenting out unblocks it
ballingt
ballingt•12mo ago
ok cool, that makes sense. Sorry for the inconvenience here, if it's helpful your app should work still — so you get to choose between the dev dashboard working or your full project functionality 😛 we'll let you know once we have this fixed
em_errata
em_errataOP•12mo ago
no sweat! thanks for simply caring
ballingt
ballingt•12mo ago
Heads up this should be fixed @em_errata, let us know if that's not the case or you run into something else

Did you find this page helpful?