BUG: running next build twice with 'mode: standalone' causes build error (Windows Only) #75559
Labels
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Module Resolution
Module resolution (CJS / ESM, module resolving).
Link to the code that reproduces this issue
https://github.com/vercel/next.js/tree/canary/examples/with-docker
To Reproduce
npx create-next-app -e with-docker
(or any repository withmode: standalone
defined in next.config.ts)cd [app-name]
pnpm install
pnpm run build
pnpm run build
againCurrent vs. Expected behavior
Current Behavior
Receive the following error on 2nd build:
Expected Behaviour
Successful build.
Provide environment information
Which area(s) are affected? (Select all that apply)
Module Resolution
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
I tested on both
latest
andcanary
, and on multiple windows machines.The text was updated successfully, but these errors were encountered: