"Failed to copy traced files" warning in output standalone when using appDir under a router group #43783
Closed
1 task done
Labels
bug
Issue was opened via the bug report template.
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Standalone mode (output: "standalone")
Link to the code that reproduces this issue
https://github.com/ludusrusso/next-fail-output-standalone-build-app-dir
To Reproduce
run
npm run build
in the example codeDescribe the Bug
When using output standalone with appDir, pages under router groups generates this warning:
Anyway, the file is present in the standalone build in the correct place and the page works correcly.
Expected Behavior
The warning should disappear.
I think that there is an error in the path copy, it should be (in the example)
.next/server/app/(test)/test/page.js.nft.json'
instead of
.next/server/app/test/page.js.nft.json'
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: