What version of Hugo are you using (hugo version)?
$ hugo version
hugo v0.161.0+extended+withdeploy linux/amd64 BuildDate=2026-04-28T11:46:32Z VendorInfo=Homebrew
Does this issue reproduce with the latest release?
Yes. After upgrading to v0.161.0 this
Issue
After upgrading to v0.161.0 we are experiencing this error with TAILWINDCSS:
hugo
Start building sites …
hugo v0.161.0+extended+withdeploy linux/amd64 BuildDate=2026-04-28T11:46:32Z VendorInfo=Homebrew
WARN deprecated: .Site.LanguageCode was deprecated in Hugo v0.158.0 and will be removed in a future release. Use .Site.Language.Locale instead.
WARN deprecated: .Language.LanguageDirection was deprecated in Hugo v0.158.0 and will be removed in a future release. Use .Language.Direction instead.
WARN deprecated: .Site.Data was deprecated in Hugo v0.156.0 and will be removed in a future release. Use hugo.Data instead.
Total in 6131 ms
ERROR error building site: renderDeferred: "/home/german/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/etheriamagazine/hugo-modules/[email protected]/layouts/term.html:8:9": execute of template failed: template: term.html:8:9: executing at : error calling partialCached: "/home/german/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/etheriamagazine/hugo-modules/[email protected]/layouts/_partials/page/css.html:17:19": execute of template failed: template: _partials/page/css.html:17:19: executing "_partials/page/css.html" at <.RelPermalink>: error calling RelPermalink: TAILWINDCSS: failed to transform "/css/main.css" (text/css): node:internal/child_process:1089
const result = spawn_sync.spawn(options);
^
Error: Access to this API has been restricted. Use --allow-child-process to manage permissions.
at Object.spawnSync (node:internal/child_process:1089:29)
at spawnSync (node:child_process:911:24)
at Object. (/home/german/dev_work/etheria/etheriamagazine.com/node_modules/detect-libc/lib/detect-libc.js:44:15)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1547:12) {
code: 'ERR_ACCESS_DENIED',
permission: 'ChildProcess',
resource: 'getconf'
}
Node.js v25.4.0
I have tried to update the @tailwindcss/cli and tailwindcss packages to latest 4.2.4 but this doesn't seem to fix the issue.
What version of Hugo are you using (
hugo version)?Does this issue reproduce with the latest release?
Yes. After upgrading to v0.161.0 this
Issue
After upgrading to v0.161.0 we are experiencing this error with TAILWINDCSS:
I have tried to update the
@tailwindcss/cliandtailwindcsspackages to latest 4.2.4 but this doesn't seem to fix the issue.