Skip to content
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

Revert "feat(nextjs): Hint correct middleware location when missing clerkMiddleware (#4979) #5026

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

panteliselef
Copy link
Member

@panteliselef panteliselef commented Jan 28, 2025

Description

image

This reverts commit 3e932b4, to fix the above logs when running next build.

As far as I am aware since clerkMiddleware and auth() are exported from the same barrel file, the issue will persist.

Fixes #5025

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef requested a review from a team January 28, 2025 07:50
@panteliselef panteliselef self-assigned this Jan 28, 2025
Copy link

changeset-bot bot commented Jan 28, 2025

🦋 Changeset detected

Latest commit: 4de08d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/nextjs Patch

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

Copy link

vercel bot commented Jan 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 28, 2025 7:51am

@panteliselef panteliselef merged commit 932c8c4 into main Jan 28, 2025
34 checks passed
@panteliselef panteliselef deleted the elef/revert-middleware-location-improvements branch January 28, 2025 10:43
panteliselef added a commit that referenced this pull request Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants