Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/nextjs-13_2_0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@types/node": "20.12.7",
"@types/react": "18.2.79",
"@types/react-dom": "18.2.25",
"next": "13.2.0",
"next": "15.5.15",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React 18 incompatible with Next.js 15 App Router

High Severity

Next.js 15 requires React 19 for the App Router, but react and react-dom remain at 18.2.0. This project uses the App Router (has an app/ directory with layout.tsx, page.tsx, route handlers, etc.), so it will fail to build or produce runtime errors with this combination.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 53441bf. Configure here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed experimental.appDir config breaks Next.js 15 build

Medium Severity

The next.config.js still sets experimental: { appDir: true, instrumentationHook: true }, but both options were removed in Next.js 15. appDir became stable and its experimental flag was dropped entirely — Next.js 15 will error or warn on this unrecognized config. The instrumentationHook is also now stable and no longer needs the experimental flag.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 53441bf. Configure here.

"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.4.5"
Expand Down
Loading