npm run build doesn't work at a filesystem root #62591
Labels
bug
Issue was opened via the bug report template.
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
Output (export/standalone)
Related to the the output option in `next.config.js`.
Link to the code that reproduces this issue
https://github.com/x-yuri/issues/tree/next-build-root
To Reproduce
Dockerfile
:node_modules diff
Current vs. Expected behavior
I expect it to produce a working build even if run at
/
.Provide environment information
Which area(s) are affected? (Select all that apply)
CLI (create-next-app), Standalone mode (output: "standalone")
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
It complains about
find-up
... maybe the issue has to do with some bug in it?The text was updated successfully, but these errors were encountered: