Can't push the changes to dev deployment
✖ Error: Unable to push deployment config to https://flexible-firefly-810.convex.cloud
✖ Error fetching POST https://flexible-firefly-810.convex.cloud/api/push_config 400 Bad Request: InvalidModules: Hit an error while pushing:
Loading the pushed modules encountered the following
error:
Uncaught unhandledRejection: Cannot read properties of undefined (reading 'log')
---
There is no .log accessing of property in my convex folder like at all but i still have this bug somehow :(
10 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!

So i was just looking at code, changed some random variable name and it worked. Relly weird one :)

Still having this problem 😢

Pretty annoying there's no stack trace for this. Can you try removing libraries one at a time to see wich lirbary it is? Or which function it is?
My libraries that i use
Also i find really weird behaviour after. I have an twitterAuth.ts file with actions
I have a defined action and i run internal mutation there
When i try to access value returned from the mutation i get this error + all the types from convex become any. That mutation also will return any, but i was returning user from the database (internal.user.create)
That is my user.ts file
omg i am so frustrated with this error. i can't ship 😢

its either a typo or a bad import circular reference type thing. which is usually rare.
Can you fine a commit that worked? Finding the first commit that broke would be interesting, agree this error message is pretty frustrating. Are you using "use node" at the top of any files?