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
...
> docsy-example-site@0.7.0-dev.0-unreleased _hugo
> hugo --cleanDestinationDir --themesDir ../.. -e dev -DFE
Start building sites …
hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended darwin/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
Total in 82 ms
Error: 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?
/cc @LisaFC @geriom
When I build using Hugo modules certain files, under
publicare 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