Max
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Max on 6/9/2024 in #questions
You must define a transformer on your your `initTRPC`-object first

3 replies
TTCTheo's Typesafe Cult
•Created by Max on 1/31/2023 in #questions
Next Font showing ts errors

1 replies
TTCTheo's Typesafe Cult
•Created by Max on 1/6/2023 in #questions
Cannot enlarge memory arrays
Trying to import a package to convert some data into a file type for me, so i can send it to the client via a base64 string. And I get this error when im converting:
"""
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4)
if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
"""
Not too sure if anyone understands what this means.
1 replies
TTCTheo's Typesafe Cult
•Created by Max on 1/3/2023 in #questions
Is anyone here going to tRPC data discussion in London on Thursday?
^
16 replies
TTCTheo's Typesafe Cult
•Created by Max on 1/3/2023 in #questions
413 FUNCTION_PAYLOAD_TOO_LARGE
Hi, with Vercel I'm now finding out that my payloads are too large, to be safe i need to be able to have 10mb, almost double vercels limit
This is a file upload which needs to be directly processed by the server, nothing of the file needs to be saved so I'm trying to avoid an S3 upload.
What options do I have here?
1 replies
TTCTheo's Typesafe Cult
•Created by Max on 12/31/2022 in #questions
Next router is possibly undefined, leading to query with undefined input

29 replies
TTCTheo's Typesafe Cult
•Created by Max on 12/30/2022 in #questions
File upload, hide upload dialogue after mutation

11 replies
TTCTheo's Typesafe Cult
•Created by Max on 12/29/2022 in #questions
React telling me an error is unhandled incorrectly??

1 replies
TTCTheo's Typesafe Cult
•Created by Max on 12/21/2022 in #questions
How to get result of a trpc query in a use effect
I often use mutateAsync for mutations, but ive never had to do a query. Any examples? I dont think im searching for the right thing in the docs.
2 replies
TTCTheo's Typesafe Cult
•Created by Max on 12/20/2022 in #questions
Prisma error in production only

12 replies