18 Replies
Hi @em_errata, thanks for reporting. We can see this, we're looking at fixing.
Thanks for jumping in, tom
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
You'd need to make this change and deploy that code from the CLI (
npx convex dev
or npm run dev
or similar)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
It looks like the dashboard problem is because of the side of your code
that's comforting 😄
so I'm hoping pushing less code (really, fewer dependencies since you're probably not hand-authoring 50MB of code) fixes the dashboard issue.
really hate to think that
twilio
and zod
are consuming that much bandwidth...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 atmthose appear to be the only external dependencies(direct dependencies) and while that's drastically improved deploy times, my dev console won't load...
after a push can you see the dashboard?
huh, that's interesting
just using
convex dev
I only have one module that's using the node runtime, though...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?
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
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
no sweat! thanks for simply caring
Heads up this should be fixed @em_errata, let us know if that's not the case or you run into something else