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
Attempted import error: 'clerkMiddleware' is not exported from '@clerk/nextjs' (imported as 'clerkMiddleware').
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ middleware.tsx (3:1) @
⨯ (0 , clerk_nextjs__WEBPACK_IMPORTED_MODULE_0_.clerkMiddleware) is not a function
1 | import { clerkMiddleware } from "@clerk/nextjs";
2 |
3 | export default clerkMiddleware({});
| ^
4 |
5 | export const config = {
6 | matcher: ["/((?!.+.[w]+$|next).)", "/", "/(api|trpc)(.)"],
⨯ middleware.tsx (3:1) @
⨯ (0 , clerk_nextjs__WEBPACK_IMPORTED_MODULE_0.clerkMiddleware) is not a function
The text was updated successfully, but these errors were encountered:
Currently, clerk is a mess with versioning. You have to do your own versioning.. https://clerk.com/docs/quickstarts/nextjs and the current version don't match, so there's nothing to refer to.
Attempted import error: 'clerkMiddleware' is not exported from '@clerk/nextjs' (imported as 'clerkMiddleware').
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ middleware.tsx (3:1) @
⨯ (0 , clerk_nextjs__WEBPACK_IMPORTED_MODULE_0_.clerkMiddleware) is not a function
1 | import { clerkMiddleware } from "@clerk/nextjs";
2 |
3 | export default clerkMiddleware({});
| ^
4 |
5 | export const config = {
6 | matcher: ["/((?!.+.[w]+$|next).)", "/", "/(api|trpc)(.)"],
⨯ middleware.tsx (3:1) @
⨯ (0 , clerk_nextjs__WEBPACK_IMPORTED_MODULE_0.clerkMiddleware) is not a function
The text was updated successfully, but these errors were encountered: