-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Build Error on Windows while executing the lifecycle hooks #432
Comments
Thanks for the report and the diagnoses. I'll put this on list for the 1.2 release but I don't have a timeline on when it will be fixed. We're always looking for OSS sponsorship to help prioritize issues like this. https://opencollective.com/aspect-build |
@lummax There have been quite a few changes to the lifecycle hooks code since this was reported. Is this still an issue for you? Windows support is low priority for rules_js at this point since the number of users using Windows with rules_js that we know of is quite low and the time that we have to spend on unfunded OSS is limited. |
Yes, unfortunately our code still does not work on Windows even with the
So the error changed a little, but I think I remember a similar error while tinkering with the The sad news: I was unfortunately unable to get buy-in for contributing funding to |
I'll leave it open for visibility although we have no plans to address complex and expensive rules_js Windows issues at the moment since we don't use Windows ourselves for development and we have no active clients that require it. There is a chance of a client that is using Windows wanting help with rules_js in Q2 or Q3 so we may pick some of the issues up at that point if it materializes. |
We ran into the same issue. Ultimately, I found that the issue is caused when Adding the correct MSYS2 path (in our case |
I get the following build error on Windows with
rules_js
from the currentmain
branch while trying to run the lifecycle hooks during the install of an npm package:This is due to the executable check in
rules_js/js/private/js_binary.sh.tpl
Lines 304 to 307 in 95f3b54
If this check is removed, the following build error while running the lifecycle hooks during the install of https://www.npmjs.com/package/sharp appears:
Full error:
This is due to the code in
rules_js/npm/private/lifecycle/lifecycle-hooks.js
Lines 49 to 56 in 95f3b54
*.bat
file. Ayarn install
on Windows creates the following*.bat
file in the.bin
directory:The text was updated successfully, but these errors were encountered: