-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Random build failures on Docker + Google Cloud Builder #42
Comments
Judging from the stack trace, this appears to be an error with the It's possible that this is a known issue with node-gyp, npm, and/or node, which may be fixed in a more recent version. If this is the case, then upgrading could remedy the flakiness. |
💡 We've seen some reports that this issue can be solved by installing the |
Considering this as a duplicate of #27. |
I don't believe (although please correct my if I'm wrong) this is a duplicate of #27, as it seems like that issue is related to the total lack of It seems like [email protected] doesn't require a build step, though, so upgrading to that may solve the issue. I'll give that a try, although since I haven't been able to reproduce this error with any regularity, I won't be able to report back until things haven't broken for some time. |
@wolever Thanks for reporting back. Yeah, it's definitely caused by the post-install native code compilation steps in v1.x and the undeclared/implicit dependencies on |
I've noticed that the build will randomly fail when running on google cloud build running inside a
node:9.3.0
Docker container.In theory it should be possible to reproduce with
docker run -it --rm node:9.3.0 yarn add sha3
, but after ~30 builds I haven't seen the failure there.In production, this seems to happen 1/10 or 1/20 builds, and re-running the build consistently fixes it.
This is the error:
The text was updated successfully, but these errors were encountered: