You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fdecampredon
changed the title
Route Grouping with Edge runtime leads to
Route Grouping with Edge runtime leads to 500 error on Vercel deployment
Jan 8, 2023
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.
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Middleware / Edge (API routes, runtime)
Link to the code that reproduces this issue
https://github.com/fdecampredon/app-dir-grouping-edge-bug
To Reproduce
Deploy a repository to vercel with a route group, and
runtime: 'experimental-edge'
runtime innext.config.js
. The routes under the Route Group will render a 500 error (see: https://app-dir-grouping-edge-fyaqtwyus-fdecampredon.vercel.app/home).Describe the Bug
Routes under a Route Groups with edge runtime returns a 500 error on Vercel deployments, works on local with production build.
Expected Behavior
Routes under routes group should render properly.
Which browser are you using? (if relevant)
Chrome 108.0.5359.124
How are you deploying your application? (if relevant)
Vercel
The text was updated successfully, but these errors were encountered: