New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK-812] Next Clerk incompatible with app router + export output #1481
Labels
Comments
20 tasks
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
remove "stale" label |
jescalan
added
the
needs-triage
A ticket that needs to be triaged by a team member
label
Aug 25, 2023
jescalan
changed the title
Next Clerk incompatible with app router + export output
[SDK-812] Next Clerk incompatible with app router + export output
Oct 16, 2023
jescalan
removed
the
needs-triage
A ticket that needs to be triaged by a team member
label
Nov 20, 2023
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Package + Version
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
4.21.15@clerk/remix
@clerk/types
@clerk/themes
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore
Dependencies + versions
Browser/OS
NextJS (browser / node)
Description
When using the Next 13 app router and setting the Next config output to
export
, then trying to add in the ClerkProvider results in the errorError: Clerk: auth() and currentUser() are only supported in App Router
Demo repo https://github.com/ozyman42/demo-clerk-next-bug
If you comment out line 3 in the next.config.js then the error goes away,
SDK-812
The text was updated successfully, but these errors were encountered: