MadaShindeInai
Explore posts from serversError: Error serializing `.trpcState.json.queries[3].promise` returned from `getStaticProps`
Uh, almost forgot, Package versions:
"@tanstack/react-query": "5.66.0",
"@trpc/client": "11.0.0-rc.730",
"@trpc/next": "11.0.0-rc.730",
"@trpc/react-query": "11.0.0-rc.730",
"@trpc/server": "11.0.0-rc.730",
6 replies
Error: Error serializing `.trpcState.json.queries[3].promise` returned from `getStaticProps`
I also double checked all chains from the "await prefetchHelper." up to prisma query, and can confirm that all async / await declarations are in place and defined explicitly.
6 replies
How do I create a React/Node full-stack project with tRPC?
I meant https://create.t3.gg/ T3-app setup. Just decouple NextJs from there and replace it with Remix 🙂
I may be wrong, but Idea is that you need to have both FE and BE part in your app (in the same repo).
You can achieve it with Fullstack framework or maybe React + SST framework.
9 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
Well, the problem was with building and running image on mac m1.
Config (docker image) that works with Images too slow locally, works good on railway. And do not work on fly.io at all ☹️
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
upd. made an example repos:
T3(with issue): https://github.com/MadaShindeInai/t3-docker-sharp
BareNext(no issue): https://github.com/MadaShindeInai/next-docker-sharp
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
![](https://cdn.answeroverflow.com/1109091925459476511/Screenshot_2023-05-19_at_14.09.53.png)
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
![](https://cdn.answeroverflow.com/1109087565102989422/Screenshot_2023-05-19_at_13.52.18.png)
6 replies
TTCTheo's Typesafe Cult
•Created by MadaShindeInai on 5/19/2023 in #questions
Building T3 app with Docker. Image access issue (sharp).
upd. created a clear next-app, copied images, installed sharp, add the same code for <Images />, built it with docker, everything works fine. The difference i see is that T3 latest version have next version 13.4.1 and create next app - 13.4.3.
Trying to check if updating next version helps
6 replies
TTCTheo's Typesafe Cult
•Created by Meyer on 5/18/2023 in #questions
Chat with trpc / nextjs / vercel
https://discord.com/channels/966627436387266600/1106927247136411820
A bit more info about that
15 replies
TTCTheo's Typesafe Cult
•Created by Morraez on 5/13/2023 in #questions
T3 for a chat app
Interesting thing is how to make that ws connection protected, as it is external app.
17 replies
TTCTheo's Typesafe Cult
•Created by Morraez on 5/13/2023 in #questions
T3 for a chat app
Hmm, and what about building separate ws server in NodeJS, hosting it somewhere, and connecting to it from NextJS client (from component)?
I really do not want to leave Vercel, as deploying create-t3-turbo somewhere is a f..ken hell
17 replies