-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
Middleware does not function in Next.js 13 while using Turbopack #42921
Comments
Also observed in this closed issue: vercel/turborepo#2905 |
having the same issue in a turborepo environment |
I'm experiencing this issue as well. I was looking to build a library that integrates well with Turbopack, but this is the last blocker I'm facing at the moment. |
Same issue here |
Any update here? I am still seeing this. |
Any update? |
Waiting for this update |
This comment has been minimized.
This comment has been minimized.
I encountered the same issue when using My solution was to move the |
Has there been any progress on this? We are also facing this issue inside a turborepo project on 14.0.0 . Removing the EDIT: I made a new reproduction repo for the latest version: https://github.com/daniel-koudouna/next14-middleware |
Any update on this yet? We are still facing this issue too. We'd like to maintain the existing folder structure. |
+1 seeing the same issue, |
A year has passed and you still can't use turbo with a middleware...omg |
Sorry for the long wait, a fix is in #58218 |
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Using
next dev --turbo
causes middleware not to execute.Expected Behavior
Using
next dev --turbo
should not affect middleware execution.Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://github.com/scissorhands26/nextjs-13-middleware-turbopack-bug
To Reproduce
Use middleware in conjunction with the pages or app directory, and add the
--turbo
flag to"dev": "next dev --turbo"
.The text was updated successfully, but these errors were encountered: