nextjs - 💡(How to fix) Fix Next.js 16 crashes on Windows 11 when opening localhost:3000 [1 comments, 2 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#87036Fetched 2026-04-08 02:07:56
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×2closed ×1commented ×1issue_type_added ×1

Error Message

Recently I've got the vunerability notice from the vercel regarding the critical RCE vulnerability affecting React Server Components and upgraded my project's Next.js version to 16.0.7. After upgrading it, I faced very weird things. I tried to run a Next.16 project on Windows 11 with Node 22.20.0 and 20.19.5. The dev server starts normally, but as soon as I open http://localhost:3000, the server exits with no error unless debugging is enabled. Node.js fs rename failed after 101 retries with error Error: EBUSY: resource busy or locked, rename 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json.tmp.71noimr4mvk' -> 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json' E:\DevWorks\Public_ShowCase\auto-buyer-vercel\node_modules\next\dist\lib\fs\rename.js: Invalid source map. Only conformant source maps can be used to find the original code. Cause: Error: sourceMapURL could not be parsed Error: EBUSY: resource busy or locked, rename 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json.tmp.71noimr4mvk' -> 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json'

Code Example

Environment:

Windows 11
Node 22.20.0
next.js 16.0.7
React 19
Running via npm run dev
RAW_BUFFERClick to expand / collapse

Link to the code that reproduces this issue

https://github.com/vercel/next.js

To Reproduce

Environment:

  • Windows 11

  • Node 22.20.0

  • next.js 16.0.7

  • React 19

  • Running via npm run dev

Current vs. Expected behavior

Next.js 16 dev server exits on Windows 11 silently when opening localhost:3000.

Recently I've got the vunerability notice from the vercel regarding the critical RCE vulnerability affecting React Server Components and upgraded my project's Next.js version to 16.0.7. After upgrading it, I faced very weird things. I tried to run a Next.16 project on Windows 11 with Node 22.20.0 and 20.19.5. The dev server starts normally, but as soon as I open http://localhost:3000, the server exits with no error unless debugging is enabled.

With debugging turned on, I get:

`// Source - https://stackoverflow.com/q/79842159 // Posted by AmericaDoodles // Retrieved 2025-12-10, License - CC BY-SA 4.0

✓ Starting... Node.js fs rename failed after 101 retries with error Error: EBUSY: resource busy or locked, rename 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json.tmp.71noimr4mvk' -> 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json' E:\DevWorks\Public_ShowCase\auto-buyer-vercel\node_modules\next\dist\lib\fs\rename.js: Invalid source map. Only conformant source maps can be used to find the original code. Cause: Error: sourceMapURL could not be parsed Error: EBUSY: resource busy or locked, rename 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json.tmp.71noimr4mvk' -> 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel.next\dev\server\server-reference-manifest.json' at ignore-listed frames { errno: -4082, code: 'EBUSY', syscall: 'rename', path: 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel\.next\dev\server\server-reference-manifest.json.tmp.71noimr4mvk', dest: 'E:\DevWorks\Public_ShowCase\auto-buyer-vercel\.next\dev\server\server-reference-manifest.json' } `

Provide environment information

Environment:

Windows 11
Node 22.20.0
next.js 16.0.7
React 19
Running via npm run dev

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

Turbopack

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

next dev (local), next build (local)

Additional context

After several try and testings, I could resolve this issues by adding --webpack flag and bundle it with webpack.

extent analysis

TL;DR

  • Adding the --webpack flag to bypass Turbopack and using Webpack instead may resolve the issue with the Next.js dev server exiting silently on Windows 11.

Guidance

  • Try adding the --webpack flag when running npm run dev to see if it resolves the issue by bypassing Turbopack.
  • Verify if the problem persists when using an older version of Node.js, as the issue might be related to the combination of Next.js 16.

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 Next.js 16 crashes on Windows 11 when opening localhost:3000 [1 comments, 2 participants]