-
Notifications
You must be signed in to change notification settings - Fork 2.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
Make yarn rebuild:electron
fail explicitly on Windows
#6538
Conversation
Current error I am having:
|
yarn:electron
fail explicitly on Windowsyarn rebuild:electron
fail explicitly on Windows
Even if a new error is brought to light by this PR, I think we should merge it sooner than later. Not seeing errors doesn't mean there aren't errors. Especially when the Electron build doesn't work because of this silent error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems good
@kittaakos change is minimal, is it good for you too? :) |
Before this commit, the `yarn rebuild:electron` used to fail silently. We now get a proper output and exit code. Signed-off-by: Paul Maréchal <paul.marechal@ericsson.com>
9f9eaa4
to
064fc51
Compare
Is this PR somehow related to #6529? |
I can see the error on
Why do not we fix the error and merge with this additional check? |
If you know how to fix the 403 error then please do. I don't know how, besides waiting for electron rebuild next release. |
No, I do not know either. |
Will merge then :) |
👍 Please go ahead. Do not know why is it so urgent to merge without the fix. What will be the difference? |
The difference will be that people will see the actual error causing Windows Electron apps to fail, and not see a consequent failure and not understand. I think this node-gyp issue could be fixed via resolutions in dependents, just like what happened with the different vscode packages? Maybe. |
What it does
Before this commit, the
yarn rebuild:electron
used to fail silently.We now get a proper output and exit code.
How to test
On Windows, try to run
yarn rebuild:electron
. Apparently there is a failure due to some http 403 error when downloading node-gyp build dependencies.Review checklist
Reminder for reviewers