-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
meta: upgrade to next.js 16 #8218
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8218 +/- ##
==========================================
- Coverage 76.66% 75.20% -1.46%
==========================================
Files 115 115
Lines 9623 9623
Branches 322 317 -5
==========================================
- Hits 7377 7237 -140
- Misses 2245 2385 +140
Partials 1 1 ☔ View full report in Codecov by Sentry. |
import GlowingBackdropLayout from '#site/layouts/GlowingBackdrop'; | ||
|
||
const NotFoundPage: FC = () => ( | ||
<html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<html> | |
<html lang="en"> |
cc @styfle any idea what the prod build failing could be? Pretty much using standard error pages 🤔 |
Hi, I haven't fully sorted this out, but I managed to get a "bad" passing build. This was my only attempt and the order of steps was a bit chaotic, so not as linearly as presented here. I used the With that flag I started to see: Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
@node-core/website:build: Error:
@node-core/website:build: at WithNavBar (turbopack:///[project]/apps/site/components/withNavBar.tsx:43:31)
@node-core/website:build: 41 | const { resolvedTheme, setTheme } = useTheme();
@node-core/website:build: 42 | const { replace } = useRouter();
@node-core/website:build: > 43 | const pathname = usePathname();
@node-core/website:build: | ^ All of the errors reported, pointed at the group of
After replacing the helpers with their const websitePages = await getMarkdownFiles(
process.cwd(),
`_pages/${defaultLocale.code}`
); With all of that... ![]() I think the path generation is somehow causing all of these to error. At this point, I do not think that we need to change Also I am not familiar enough with this repo, so maybe I am building with the wrong Note that https://github.com/amannn/next-intl/tree/main/examples/example-app-router w/ next@beta builds without errors too. Hopefully this gives you some insight. Happy to keep on helping! |
Sounds like a bug on Next.js imo
Could be that |
Most likely a Next.js thing yeah ~ I'll try to set some time apart later, to try and build by bisecting canaries. |
This PR is a draft PR for upgrading to Next.js 16.