-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Error: ENOENT: no such file or directory, open '/vercel/path0/.next/static/chunks/webpack-middleware-168680c7d73089f6.js' #31659
Comments
Won't work on 12.04 too, also not on a single canary build. Any updates on this? Can't use middlewares over all |
Did some research and it seems like it is consistent over all version. I did fork (also tested it with newest React Beta and & NextJs 12.0.5-canary.13) the next-rsc-demo. As soon as I add a _middleware.js or _middleware.ts to a sub path, vercel won't deploy anymore. Reproduction: https://github.com/KlotzJesse/next-rsc-demo May be also referenced to #31803 Middlewares in the main ./pages folder won't even be executed on dev but deployment then works |
This comment has been minimized.
This comment has been minimized.
|
@saurabhguptarock Not sure how your project look like, do you have a reproduction? Could you try the latest 12.1.0 as well? @KlotzJesse I tried your example with 12.1.0, change |
This issue has been automatically closed because it received no activity for a month and had no reproduction to investigate. If you think this was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
12.0.5-canary.6
What version of Node.js are you using?
14.18.1
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
Deploy failed on vercel when concurrentFeatures enabled
Expected Behavior
The serverless function should be deployed successfully
To Reproduce
Enable concurrentFeatures in next.config.js
Add _middleware.tsx file and deploy should be failing.
The text was updated successfully, but these errors were encountered: