Hitting error "found wrong number of app bundles" in dev CLI
Hi there! I am hitting an error in which whenever I add a convex.config.ts file to install components, I get a "found wrong number of app bundles" in the CLI. I have tried searching the docs and github but haven't managed to find anything. This is pretty much all that is in my convex.config.ts file right now. I am using remix in the same repo if that is of any significance. Any help would be appreciated! 😀 Thank you
9 Replies
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!
FYI to anyone coming across this issue, it was because of node version. I was using node v23.0.0, it worked once i switched to v20.18.0 🤷♂️
Thanks for circling back!
Great to know we have a Node.js 23 incompatibility! We'll follow up here when fixed.
I ran node 23.0 once for something else and ran into a different issue, but not this same issue. @sonandmjy curious if using node v23 latest still has this behavior?
I haven't tried to repro yet, yeah if there's anything extra required please let us know
no worries, happy to share findings! @erquhart I did a quick test on 23.5.0 and it seems to start up fine, not sure what happened in 23.0.0 that caused it to break 🤔
yeah there are other weird things that broke somewhere mid 22.x and fixed mid 23.x
I believe all around imports too