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

Edge runtime does not work inside route group #43933

Closed
1 task done
alvarlagerlof opened this issue Dec 10, 2022 · 2 comments
Closed
1 task done

Edge runtime does not work inside route group #43933

alvarlagerlof opened this issue Dec 10, 2022 · 2 comments
Labels
bug Issue was opened via the bug report template.

Comments

@alvarlagerlof
Copy link

Verify canary release

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

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sat Nov 26 16:55:13 UTC 2022
Binaries:
  Node: 16.16.0
  npm: 8.11.0
  Yarn: 1.22.19
  pnpm: N/A
Relevant packages:
  next: 13.0.7-canary.4
  eslint-config-next: 13.0.6
  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

alvarlagerlof/portfolio#584

To Reproduce

Deploy the repo branch linked on Vercel, and open /about

Describe the Bug

A route inside of a route group like (main) fails with a 500 error in Vercel when using the Edge runtime, but works perfectly fine when moving it outside of the route group.

Expected Behavior

The page works inside the route group as it does outside.

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

Vercel

@alvarlagerlof alvarlagerlof added the bug Issue was opened via the bug report template. label Dec 10, 2022
@alvarlagerlof
Copy link
Author

Closing because the issue is the same as #43458

@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 Jan 17, 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

1 participant