-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails with changed mount behavior assets
directory
#12175
Comments
Here's what I did on a virgin Debian system with node v20.11.1:
Here's what I got:
I tested on a virgin Debian system because I couldn't get it to work on my Ubuntu system either. |
Here's a repository that doesn't (try to) install Hugo locally: |
Can confirm the issue on Windows
|
I will have a look at this and see if there is an easy fix, but I have said it before and I will say it again: The overlay file system is built horizontally (project -> module1 -> module2); the file mounts were never meant to have advanced vertical merge semantics, so you should try to avoid that (which I suspect should be fairly simple in the above case). @h-enk could you edit the issue title to be more specific and, if possible, with a less negative tone. |
assets
directory
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Module mounts behavior of the
assets
directory changed with Hugo v0.123.0 and later.Known inpact: all Doks and Hyas users.
Replicate
Clone repository
Install dependencies
Run development server
Module mounts (default settings)
config/_default/module.toml
Result: NOK
Module mounts (temporary fix)
config/_default/module.toml
Result: OK
Resources
The text was updated successfully, but these errors were encountered: