Standalone build fails on 2nd build on Windows #77617
Labels
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
Module Resolution
Module resolution (CJS / ESM, module resolving).
Link to the code that reproduces this issue
https://github.com/mnpqraven/next15builderror
To Reproduce
create-next-app
with the output changed tostandalone
)pnpm i
pnpm build
<- This WILL work the first time buildingpnpm build
<- 2nd build WILL fail withAt this point every command that uses
next
will produce this error. To resolve this i have to deletenode_modules
and reinstall everythingCurrent vs. Expected behavior
As described above @ reproduction steps
Provide environment information
Which area(s) are affected? (Select all that apply)
create-next-app, Module Resolution
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: