Closed SanmayJoshi closed 6 months ago
What's the actual CLI command you're running?
It is getting called from Hugo. I should've made that clear in the original comment. Adding 'Steps to reproduce the bug' in the original comment.
I'm guessing this is a bug with Hugo, where they're not properly quoting a path on Windows, but would have to know exactly what command Hugo is calling to confirm.
I see that there is an open issue on Hugo's repo gohugoio/hugo#7333.
Yep, that looks like it.
Summary
PostCSS gives the below error on Windows 11, when the project path contains spaces:
Project structure:
Project dependency
Hugo Extended
Project path:
package.json
postcss.config.js
Steps to reproduce the bug
https://github.com/gohugoio/hugo/releases
(I've installed it via Chocolatey if it makes any difference -choco install hugo-extended
)git clone https://gitlab.com/Softorage/softorage.gitlab.io.git
npm install
My Work
.hugo serve -e production