Clerk imports from docs not working
Throws errors for both. @clerk/clerk-react module not found and ConvexProviderWithClerk is not exported in convex/react-clerk.
I'm using NextJS13
8 Replies
The first line should be
import { ClerkProvider } from "@clerk/clerk-react";
(last part is react not clerk)
Can you check you are on the latest version of convex
? (0.12.2)
You can check your package.json
for the version that's likely installed.Yep I'm on 0.12.2 and I did use clerk-react for the first line
the error is just with this now:

Hi any update for this @Michal Srb ? still having some trouble
The code looks good. Maybe another thing I’d try is restarting VS Code if it’s only a TypeScript error (typescript has been bad recently at picking up various changes). Does the code also throw an error in the browser?
Yep not working still

What happens when you go to definition in VS Code of convex/react-clerk? I’m thinking of maybe some stale node_modules if you were upgrading from a past lower version.
tried workflow on a new laptop and it works
likely stale node modules
thanks for the help!