-
Notifications
You must be signed in to change notification settings - Fork 30k
Closed
vercel/vercel
#10630Labels
Description
Verify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 20.6.0: Thu Sep 29 20:15:11 PDT 2022; root:xnu-7195.141.42~1/RELEASE_X86_64
Binaries:
Node: 16.15.0
npm: 8.5.5
Yarn: 1.22.19
pnpm: 7.15.0
Relevant packages:
next: 13.0.3-canary.4
eslint-config-next: N/A
react: 18.2.0
react-dom: 18.2.0
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Vercel
Describe the Bug
Combining i18n config option and edge runtime deployed on Vercel causes page render to fail. When I open index page it returns internal server error. Interestingly, when I add /index to the URL, page is rendering without error.
Failing URL: https://i18n-fail-repro.vercel.app
Working URL: https://i18n-fail-repro.vercel.app/index
I can't reproduce this issue on dev or prod builds. It happens only when deployed to Vercel.
I found a few issues that might be related: #42843, #42387.
Expected Behavior
When opening website index page should load without any errors.
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://github.com/mrkldshv/i18n-fail-repro
To Reproduce
- Go to index page of the deployed site