Failed: build output directory contains links to files that can't be accessed

Hello I'm trying to build and deploy a Next.js application on CF Pages, but, the build ultimately fails with:
08:04:22.211 Tasks: 6 successful, 6 total
08:04:22.211 Cached: 0 cached, 6 total
08:04:22.211 Time: 3m38.054s
08:04:22.211
08:04:24.798 Finished
08:04:24.799 Note: No functions dir at /functions found. Skipping.
08:04:24.799 Validating asset output directory
08:04:26.637 Failed: build output directory contains links to files that can't be accessed
08:04:22.211 Tasks: 6 successful, 6 total
08:04:22.211 Cached: 0 cached, 6 total
08:04:22.211 Time: 3m38.054s
08:04:22.211
08:04:24.798 Finished
08:04:24.799 Note: No functions dir at /functions found. Skipping.
08:04:24.799 Validating asset output directory
08:04:26.637 Failed: build output directory contains links to files that can't be accessed
I did find a github issue about this - https://github.com/cloudflare/workers-sdk/issues/2674 - which is closed, but there isnt any clear solution to this. Can anyone help?
GitHub
🐛 BUG: Pages build fails with error accessing file in the build out...
Which Cloudflare product(s) does this pertain to? Pages What version of Wrangler are you using? version available to Pages UI What operating system are you using? version available to Pages UI Desc...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server