Skip to content

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
@changeset-bot
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

@vercel
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
wobsoriano pushed a commit that referenced this pull request Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@clerk/nextjs version 6.10.3 casue A Node.js API is used (process.cwd at line: 24) which is not supported in the Edge Runtime. in Edge Runtime

4 participants