-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Local installation of postcss-cli doesn't work on Windows #5091
Comments
Any update on this? Or a possible work-around? Other than installing |
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 still ocurrs with Hugo 0.54 in Windows 10. I agree with @ericselin that this is necessary. And since already there's a pull request, this should be put in mind. |
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 occurs for me with Hugo v0.55.6/extended in windows/amd64. Error message:
Contents of
Workaround:
|
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. |
Problem
Using
postcss-cli
from a localnode_modules
folder within a project currently doesn't work on Windows. The reason is thatpostcss
found undernode_modules/postcss-cli/bin
is not executable on Windows.hugo/resource/postcss/postcss.go
Line 101 in 6746826
Proposed fix
I propose to always try to find the local installation under
node_modules/.bin
. This should work on other environments as well.P.S. I'm using
Hugo v0.47
The text was updated successfully, but these errors were encountered: