nextjs - 💡(How to fix) Fix React Version Update Required for create-next-app Template [5 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vercel/next.js#86905Fetched 2026-04-08 02:08:25
View on GitHub
Comments
5
Participants
4
Timeline
10
Reactions
0
Author
Timeline (top)
commented ×5closed ×1issue_type_added ×1labeled ×1

Code Example

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 25.1.0: Mon Oct 20 19:32:47 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T8103
  Available memory (MB): 8192
  Available CPU cores: 8
Binaries:
  Node: 24.11.1
  npm: 11.6.2
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 16.0.7 // Latest available version is detected (16.0.7).
  eslint-config-next: N/A
  react: 19.2.0
  react-dom: 19.2.0
  typescript: 5.9.3
Next.js Config:
  output: N/A
RAW_BUFFERClick to expand / collapse

Link to the code that reproduces this issue

https://github.com/shiqocred/16.0.7-next

To Reproduce

bun x create-next-app@latest ✔ What is your project named? … 16.0.7 ✔ Would you like to use the recommended Next.js defaults? › Yes, use recommended defaults Creating a new Next.js app in /Users/macbookpro/Documents/project/nextjs/16.0.7.

Using bun.

Initializing project with template: app-tw

Installing dependencies:

  • next
  • react
  • react-dom

Installing devDependencies:

  • @tailwindcss/postcss
  • @types/node
  • @types/react
  • @types/react-dom
  • eslint
  • eslint-config-next
  • tailwindcss
  • typescript

bun install v1.2.17 (282dda62)

349 packages installed [6.51s]

Current vs. Expected behavior

Given the recent security issues (react & next.js), I expected the template to use React v19.2.1, but it is still using React v19.2.0. Is this still safe?

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 25.1.0: Mon Oct 20 19:32:47 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T8103
  Available memory (MB): 8192
  Available CPU cores: 8
Binaries:
  Node: 24.11.1
  npm: 11.6.2
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 16.0.7 // Latest available version is detected (16.0.7).
  eslint-config-next: N/A
  react: 19.2.0
  react-dom: 19.2.0
  typescript: 5.9.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

create-next-app

Which stage(s) are affected? (Select all that apply)

Other (Deployed)

Additional context

No response

extent analysis

TL;DR

Update React to version 19.2.1 to address recent security issues.

Guidance

  • Check the package.json file to confirm the version of React being used.
  • Run bun install [email protected] to update React to the latest secure version.
  • Verify the update by checking the package.json file or running bun list react.
  • Consider updating other dependencies to their latest available versions, such as @types/node, to ensure the project is using the most secure and up-to-date code.

Notes

The issue is specific to the create-next-app template using an outdated version of React, which has known security vulnerabilities. Updating React to version 19.2.1 should resolve the issue.

Recommendation

Apply workaround: Update React to version 19.2.1, as the latest available version of Next.js (16.0.7) does not include the updated React version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

nextjs - 💡(How to fix) Fix React Version Update Required for create-next-app Template [5 comments, 4 participants]