Open chalin opened 1 year ago
@deining, I'm still hitting this problem:
$ npm run local -- build
...
Total in 145 ms
Error: error copying static files: open /Users/chalin/git/lf/docsy/docsy-example/public/webfonts/fa-brands-400.ttf: permission denied
Any idea why? I'm not seeing this behavior when Docsy is used via a submodule.
Having the same behaviour now after upgrading Hugo and Docsy.
Start building sites …
hugo v0.123.8-5fed9c591b694f314e5939548e11cc3dcb79a79c+extended darwin/arm64 BuildDate=2024-03-07T13:14:42Z VendorInfo=gohugoio
Total in 11766 ms
Error: error copying static files: open /Users/x/dev/docs/public/webfonts/fa-solid-900.ttf: permission denied
This solved my problem (more of a workaround I'm guessing) - https://discourse.gohugo.io/t/hugo-0-123-0-broke-local-development-for-us-but-theres-a-fix/48537
When I build using Hugo modules certain files, under
public
are set to read only. And so when I rebuild, I get errors like:I don't face this problem when building using non-Hugo Modules. Any idea why this is happening @deining?
/cc @LisaFC @geriom