You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build using Hugo modules certain files, under public are set to read only. And so when I rebuild, I get errors like:
$ npm run build...
> [email protected] _hugo
> hugo --cleanDestinationDir --themesDir ../.. -e dev -DFEStart building sites … hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended darwin/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoioTotal in 82 msError: error copying static files: open /Users/chalin/git/lf/docsy/docsy-example/public/js/tabpane-persist.js: permission denied
I don't face this problem when building using non-Hugo Modules. Any idea why this is happening @deining?
$ npm run local -- build...Total in 145 msError: 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
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
The text was updated successfully, but these errors were encountered: