Skip to content
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 is failing a lot with "Error: read ECONNRESET" #30

Open
kaiyoma opened this issue Aug 4, 2020 · 1 comment
Open

Build is failing a lot with "Error: read ECONNRESET" #30

kaiyoma opened this issue Aug 4, 2020 · 1 comment

Comments

@kaiyoma
Copy link

kaiyoma commented Aug 4, 2020

In the past few days, our project has started experiencing a lot of installation issues with this package. The error always looks like this:

+ yarn install --frozen-lockfile
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Error running install script for optional dependency: ".../node_modules/weak-napi: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments: 
Directory: .../node_modules/weak-napi
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 2.7.13 found at \"/usr/bin/python\"
gyp http GET https://nodejs.org/download/release/v12.16.3/node-v12.16.3-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v12.16.3/node-v12.16.3-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
01:07:26 
 gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack     at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
gyp ERR! System Linux 4.19.123-coreos
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd .../node_modules/weak-napi
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok"

We don't have networking issues with anything else at the moment. This is the only package/tool giving us problems.

@kaiyoma
Copy link
Author

kaiyoma commented Sep 17, 2020

Still seeing this all the time on the Linux machines in our CI. Any word on what's causing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant