Uh oh!
There was an error while loading. Please reload this page.
feat(nextjs): [improved] Hint correct middleware location when missing clerkMiddleware - #5028
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: a244047 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
panteliselef
commented
Jan 28, 2025
!snapshot |
clerk-cookie
commented
Jan 28, 2025
Hey @panteliselef - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.17-snapshot.v20250128145930 --save-exact
npm i @clerk/backend@1.23.9-snapshot.v20250128145930 --save-exact
npm i @clerk/chrome-extension@2.2.3-snapshot.v20250128145930 --save-exact
npm i @clerk/clerk-js@5.50.1-snapshot.v20250128145930 --save-exact
npm i @clerk/elements@0.22.17-snapshot.v20250128145930 --save-exact
npm i @clerk/clerk-expo@2.7.1-snapshot.v20250128145930 --save-exact
npm i @clerk/expo-passkeys@0.1.16-snapshot.v20250128145930 --save-exact
npm i @clerk/express@1.3.44-snapshot.v20250128145930 --save-exact
npm i @clerk/fastify@2.1.17-snapshot.v20250128145930 --save-exact
npm i @clerk/localizations@3.10.2-snapshot.v20250128145930 --save-exact
npm i @clerk/nextjs@6.10.4-snapshot.v20250128145930 --save-exact
npm i @clerk/nuxt@1.0.13-snapshot.v20250128145930 --save-exact
npm i @clerk/clerk-react@5.22.8-snapshot.v20250128145930 --save-exact
npm i @clerk/react-router@1.0.3-snapshot.v20250128145930 --save-exact
npm i @clerk/remix@4.4.19-snapshot.v20250128145930 --save-exact
npm i @clerk/shared@2.20.16-snapshot.v20250128145930 --save-exact
npm i @clerk/tanstack-start@0.8.18-snapshot.v20250128145930 --save-exact
npm i @clerk/testing@1.4.17-snapshot.v20250128145930 --save-exact
npm i @clerk/themes@2.2.14-snapshot.v20250128145930 --save-exact
npm i @clerk/types@4.44.2-snapshot.v20250128145930 --save-exact
npm i @clerk/ui@0.3.18-snapshot.v20250128145930 --save-exact
npm i @clerk/vue@1.1.8-snapshot.v20250128145930 --save-exact |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
0611700 to
2bff250Compare2bff250 to
c5dd682Compare| import { assertAuthStatus } from './utils'; | ||
| export const createGetAuth = ({ | ||
| export const createAsyncGetAuth = ({ |
There was a problem hiding this comment.
Add comment here to clarify why we have the split
brkalow
left a comment
There was a problem hiding this comment.
👍 Let's also add a test for this behavior, can be a follow up
Description
This PR brings back the improvements instoduced in #4979 , but it also fixes warnings caused from codesplitting issues when importing
clerkMiddelwarefrom/serverbut/serverexports other utilities that use node apis.Since this reverts a reverted commit, the actual issue is resolved by this new commit
Running
next buildwill not longer complain about usage ofprocess.cwdFixes ACTLS-63
next startwith defaut rendering (node)next startwith edge renderingChecklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change