CaptainPhoton
CaptainPhoton
Explore posts from servers
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 5/9/2023 in #questions
Setup pub/sub connection in Next.js
Thanks! That's a good idea
4 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
Why do people say Turborepo is great? I just wasted a ton of time on this BS
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
WHEW
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
Now when I run dev from the root with turborepo it seems to work.
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
Solved now. What I did was put node-linker=hoisted in .npmrc, delete all node_modules folders, run pnpm install. Then generate the client from the prisma module folder, not the root with Turborepo, then run the nextjs app from the nextjs app folder, not with turborepo
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
the heck
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
Lol this is probably why it doesn't work:
Generated Prisma Client (4.12.0 | library) to ./../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client
Generated Prisma Client (4.12.0 | library) to ./../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
Of course it flipping works in the create-t3-turbo template 😭
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
The page load request does not get a response
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
Maybe this is the sign I need to convert to Drizzle 🙂
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/8/2023 in #questions
Prisma in next.js monorepo such as t3-turbo does not work
When I say "non-working app", I mean that the next.js build console logs this: "ready - started server on 0.0.0.0:3000, url: http://localhost:3000" but the app doesn't respond.
12 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/4/2023 in #questions
No tRPC requests after integrating Clerk
some weird local issue 🤷‍♂️
6 replies
TTCTheo's Typesafe Cult
Created by CaptainPhoton on 4/4/2023 in #questions
No tRPC requests after integrating Clerk
There was nothing. And now today, without any changes, it started working again.
6 replies