Following theo's Tutorial. After creating the private routes i'm getting this error
I've tried to debug and the solution where people say to change the matcher jsut doesnt work anymore.
here's my middleware.ts file
I now realise its because clerk has changed a lot but i really wanna finish the tutorial and not dump it halfway so help please?
@jamesperkins (tagging you because i saw on google how youve greatly helped others, i apologized if i shouldn't have)
Solution:Jump to solution
https://discord.com/channels/966627436387266600/1106522494439018559/1106549069381369887
this response fixed it for me. Appparently my middleware has been in the root of my folder but should have been in src. I remember theo saying put it in src but i had used clerk before and i always put it in my folder directly so i just put it there....
1 Reply
Solution
https://discord.com/channels/966627436387266600/1106522494439018559/1106549069381369887
this response fixed it for me. Appparently my middleware has been in the root of my folder but should have been in src. I remember theo saying put it in src but i had used clerk before and i always put it in my folder directly so i just put it there.