-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Babel broken on Windows #7251
Comments
How can something new be broken? :-) I'll admit, I haven't tested this on Windows (but we do have a CI test that runs fine on every platform, including Windows), but it works fine on MacOS. Can you tell me if there are any executables inside |
The file is there, but Windows doesn't support shebangs. Hence if you want to run that file you need to do
My guess is that it's due to that. How are you calling postcss BTW? It should be the same way. |
@bep Now that I think about it more, I believe if one has installed the 2 packages globally, they won't hit this issue, because npm adds executable files in PATH. If you want to access the local executable files, you should access them in So this issue should be present only for local installations. |
I think I see it now ... I based the Babel implementation on top of an old PR -- and that was based on an older PostCSS implementation. We have since fixed this for PostCSS. I will get these in line and test on Windows. |
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?
yup
So, I tried to test drive the new Babel pipes addition :) On Windows I get the following error:
The text was updated successfully, but these errors were encountered: