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

Route Grouping with Edge runtime leads to 500 error on Vercel deployment #44657

Closed
1 task done
fdecampredon opened this issue Jan 6, 2023 · 3 comments
Closed
1 task done
Labels
bug Issue was opened via the bug report template.

Comments

@fdecampredon
Copy link

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000
Binaries:
  Node: 16.13.2
  npm: 8.1.2
  Yarn: 1.22.19
  pnpm: N/A
Relevant packages:
  next: 13.1.2-canary.1
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0

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 in next.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

@fdecampredon fdecampredon added the bug Issue was opened via the bug report template. label Jan 6, 2023
@fdecampredon 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
@smaeda-ks
Copy link
Member

@fdecampredon I believe this can be merged into #43458

@fdecampredon
Copy link
Author

Yes it's clearly a duplicate, I don't know why I didn't see this previous issue.

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants