hhhyh
hhhyh
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
In some repos it works I think for Pages router but in my main repo the auth returns null. Im still using import { withClerkMiddleware } from "@clerk/nextjs/server"; which is from @clerk/[email protected] I would ideally like to use import { authMiddleware } from "@clerk/nextjs"; which is in the latest version of @clerk/nextjs however when I upgrade I get the following error which is documented in this thread I put in clerk discord. Says it cant find the #components library. https://discord.com/channels/856971667393609759/1177080652630327326/1177080652630327326
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
Also would this work if im using Pages router instead ? would I need to add in those changes in the t3 link above?
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
makes sense, if possible could you share what your context.ts file looks like?
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
Do you know if I have to add in these changes too or is this unrelated https://github.com/t3-oss/create-t3-app/pull/1670/files
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
from which clerk libraries are those methods from ? Appreciate you helping
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
Are there any api limits for doing that method? If possible could you share the code for how you did it? Thanks!
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
Has anyone got this to work and not return null for the auth object ?
123 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
glad to hear! yeah sometimes it just does that, but the old trick of turning it off and on again seems to fix it 😂
14 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
have you tried rebuilding your nextjs backend?
14 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
what stack are you using trpc with ?
14 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
Hey @isitayush , I can't remember exactly how I fixed it but normally when I get that error it is due to me not rebuilding my nextjs backend which has the updated files in it. So I just run: next build and that usually fixes it. What is the error that you're getting?
14 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
--- ignore for now I think I may have found the issue ----
14 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
14 replies
TtRPC
Created by hhhyh on 4/10/2023 in #❓-help
TRPCClientError - No "query"-procedure on path "user.all"
I setup this project by using https://github.com/t3-oss/create-t3-turbo
14 replies
TTCTheo's Typesafe Cult
Created by hhhyh on 2/20/2023 in #questions
React Native + Next.js API server deployed on vercel ?
thanks for helping everyone!
8 replies
TTCTheo's Typesafe Cult
Created by hhhyh on 2/20/2023 in #questions
React Native + Next.js API server deployed on vercel ?
that looks interesting, ill try it now. Just a quick question about the folder structure - in the next.js folder do I still need that folder if im not creating a web version of whatever im making in react native? or is that where the backend api code is? @deforestor
8 replies