Skip to content

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

@kaiyoma

Description

@kaiyoma

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 fsevents@1.2.11: The platform "linux" is incompatible with this module.
info "fsevents@1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" 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 node-gyp@5.1.0
gyp info using node@12.16.3 | 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions