skip to Main Content

I have been building a threads app clone with help of Js mastery yt channel. But i got this Error of Error : ClerkInstanceContext not found.

I tried restarting the app, replacing code. But nothing changed.
What to do?
Can someone please solve it for me?

2

Answers


  1. make sure you embed the <html></html> tag inside a <ClerkProvider></ClerkProvider> tag in your root’s layout.tsx file

    Login or Signup to reply.
  2. You have to wrap your (auth) layout.tsx with ClerkProvider and your (root) layout.tsx with ClerkProvider. Make sure you’ve signed in to see the changes.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search