You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Self-hosted UI crashes on load with Clerk error (useAuth outside ClerkProvider) #8644
Hey guys, I just did a fresh self-hosted install (docker compose, current main) and the UI crashes right away on localhost:8080: on my macOS.
Unexpected Application Error!
@clerk/clerk-react: useAuth can only be used within the <ClerkProvider /> component.
Happens both with the prebuilt skyvern-ui:latest image and when building locally from Dockerfile.ui, incognito too, so it's not a caching thing. Backend itself is fine — logs show UI session minting is configured, no errors there.
Dug into it a bit: the onboarding code imports Clerk hooks directly, but self-hosted never mounts a <ClerkProvider>:
Workaround for anyone hitting this: stub useAuth/useUser in those three imports (return isSignedIn: false / user: null, all the call sites already handle the signed-out case) and rebuild the UI from source. Works fine after that.
Activity