Can't find output directory from root
OK I've found my way a far bit further down the path - and am tantalizingly close. First - my custom build script for (dotnet) Fable is this
which I run inline as a single custom command. (see screen grab)
This works so well I can even see the actual named path for output in the logs
But when it gets to the moment of truth the output path can't be found.
The only thing I noticed is that the
Error
seems to have dropped the leading "/"
so I'm curious if that might be the issue.
2 Replies
I also tried removing the outDir setting in Vite and just use "dist" and that isn't found either.
SOLVED - finally got the "right" settings and found a note in another thread here that Cloudflare Pages "manual" redeployment doesn't always pick up the latest settings as expected. So once I got the settings right and tiggered the build from automation it all sorted out.



