-
-
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
Postcss transformation fails with space in filepath in Windows #7571
Comments
Duplicate of #7333. |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
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. |
What version of Hugo are you using (hugo version)?
Does this issue reproduce with the latest release?
Yes
Summary
When running
hugo
command in Windows within a working directory with a space (e.g.C:\Users\Jackson Clarke\...
), the postcss transformation fails with the following error.Obviously the space means that the path is being interpreted as separate command line arguments. The error would occur at the following line:
hugo/resources/resource_transformers/postcss/postcss.go
Line 199 in 6add6d7
A potential fix would be to ensure such file paths are surround by double quotation marks.
The text was updated successfully, but these errors were encountered: