Error: Invariant: cookies() expects to have requestAsyncStorage, none available. #4463
Open
4 tasks done
Labels
needs-triage
A ticket that needs to be triaged by a team member
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
#4396
Publishable key
pk_test_ZGl2aW5lLXNlYWhvcnNlLTEwLmNsZXJrLmFjY291bnRzLmRldiQ
Description
Summary
Getting this error when signing out using the provided components.
errorMessage: Error: Invariant: cookies() expects to have requestAsyncStorage, none available.
file: webpack-internal:///(app-pages-browser)/../../node_modules/.pnpm/next@14.0.4-canary.36_@babel[email protected][email protected][email protected]/node_modules/next/dist/client/components/headers.js
methodName: cookies
Can be related to : #4396 . Got fixed by reverting to ^6.0.0 just before this change got merged
Steps to reproduce:
@/components/user-profile.tsx
app/page.tsx
Environment
The text was updated successfully, but these errors were encountered: