Chad MaycumberC
Convex Community3y ago
10 replies
Chad Maycumber

Latest version of Clerk creating issues with convex clerk provider

.../node_modules/convex/dist/esm/react-clerk/ConvexProviderWithClerk.js:2
@astria/next:dev: import { useAuth } from "@clerk/clerk-react";
@astria/next:dev: ^^^^^^^
@astria/next:dev: SyntaxError: Named export 'useAuth' not found. The requested module '@clerk/clerk-react' is a CommonJS module, which may not support all module.exports as named exports.

I'm running into the following error after updating clerk. I can downgrade in the meantime but wanted to see if there's a potential solution here.
Was this page helpful?