cli icon indicating copy to clipboard operation
cli copied to clipboard

`netlify dev` terminates unexpectedly with Error: read ECONNRESET at TLSWrap.onStreamRead

Open jqlee85 opened this issue 1 year ago • 1 comments

Describe the bug

Getting this error message which prevents me from running our local environment (which uses netlify dev).

 ›   Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:

npm install -g netlify-cli@VERSION

You can use any version from https://ntl.fyi/cli-versions.

Please report this problem at https://ntl.fyi/cli-error including the error details below.

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)

  System:
    OS: macOS 13.6
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.117
    Firefox: 119.0
    Safari: 17.0

Using version 16.9.3

Steps to reproduce

Not sure, this just happens occasionally while using our local env, which uses netlify dev.

Configuration

No response

Environment

See info above! This happens pretty frequently for me and my teammates. The only fix seems to be restarting our machines, or sometimes fulling clearing out all build artifacts and node_modules and reinstalling. Thanks.

jqlee85 avatar Oct 27 '23 21:10 jqlee85

This happens to me too. But only when running a request via playwright.

pmelab avatar Jun 25 '24 15:06 pmelab