@@ -72,15 +72,13 @@ security:
7272 - ^HUGO_
7373 # Allow continuous integration vars
7474 - ^CI$
75- node :
76- permissions :
77- # Hugo's default allowChildProcess regex permits tailwindcss/npx but not
78- # `getconf`. @tailwindcss/cli pulls in @parcel/watcher, whose bundled
79- # detect-libc@1 synchronously spawns `getconf GNU_LIBC_VERSION` at
80- # require time on Linux to pick glibc vs musl prebuilds. Without this
81- # entry, Ubuntu CI fails with ERR_ACCESS_DENIED while macOS works
82- # (detect-libc short-circuits on Darwin).
83- allowChildProcess : ^(tailwindcss|npx|getconf)$
75+ # Note: security.node.permissions is intentionally NOT set here. Hugo
76+ # >= 0.161.1's built-in defaults permit `tailwindcss` for allowAddons,
77+ # allowChildProcess, and allowWorker — sufficient for @tailwindcss/cli's
78+ # transitive spawns (e.g. @parcel/watcher → detect-libc → getconf on
79+ # Linux). The hugoVersion.min below pins to 0.161.1 because 0.161.0
80+ # introduced the Node permission sandbox without an allowChildProcess
81+ # field, so all spawns under tailwindcss were blocked on Linux.
8482outputFormats :
8583 backlinks :
8684 mediaType : application/json
@@ -115,7 +113,11 @@ module:
115113 # 0.161.0 introduced css.TailwindCSS Node.js permission sandbox
116114 # (Node >= 22 required) and dropped support for the standalone
117115 # tailwindcss binary. The npm @tailwindcss/cli package is required.
118- min : " 0.161.0"
116+ # 0.161.1 added security.node.permissions.allowChildProcess (default
117+ # ['tailwindcss']); 0.161.0 has no way to permit any child process,
118+ # so spawns under tailwindcss (e.g. @parcel/watcher's detect-libc →
119+ # getconf on Linux) are blocked with ERR_ACCESS_DENIED.
120+ min : " 0.161.1"
119121 extended : true
120122 imports :
121123 - path : github.com/HugoBlox/kit/modules/analytics
0 commit comments