/error
from Pages Router is being bundled with App Router
#76592
Labels
Error Handling
Related to handling errors (e.g., error.tsx, global-error.tsx).
Pages Router
Related to Pages Router.
Link to the code that reproduces this issue
https://github.com/AnYiEE/touhou-mystia-izakaya-assistant
To Reproduce
pnpm add @next/bundle-analyzer
next.config.ts
to import Analyzer.env.local
file and writeSELF_HOSTED=true
in itpnpm build
.next/analyze/client.html
Current vs. Expected behavior
From the image, it can be seen that
react-dom-client.production.js
andreact-dom.production.js
are bundled, with the former being version 19.1.0-rc, while my app uses 18.3.1, which is the latter.Is this a bug? Or is Next.js 15 not fully compatible with React 18? (I remember Next.js 14 didn't have this issue).
Provide environment information
Which area(s) are affected? (Select all that apply)
Output, Performance
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
File generated by the Analyzer (extension needs to be changed back)
client.html.txt
The text was updated successfully, but these errors were encountered: