SudoerWithAnOpinion
The inferred type of this node exceeds the maximum length the compiler will serialize.
Double check that this file isn't part of a circular import.
Also, if you have an
awsRouter
, if you tab-completed and changed the var to appRouter, the TS-lang server might need a restart. I've seen it get stuck like this before.10 replies
Wrong JSON response when deployed
We will need more information to dive into this: there isn't any way to know what is happening here.
This could be a dev DB returning the correct thing but production does not. Maybe it's an external API that is throwing an error, etc.
Can you provide some context and maybe some code that you're using?
Also, is there any specific differences between dev and prod like a DB adapter or other envvars?
3 replies