I'm creating a new Ionic project and stuck on "Downloading and extracting" process with the output:

Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
ionic Error: read ECONNRESET

The same problem occurs when trying to serve any other project.

Versions:

  • Ionic: v4.12.0
  • Node: 10.15.3

This is a new problem working with Ionic and occurs suddenly. I've tried uninstalling Ionic, Cordova, and Node.js and installing again, but the error persists.

I expect to be able to create a new project or runs an existent one with Ionic CLI.

UPDATE: I realized that the error occurs when CLI trying to download something (template in case of new project, or cordova integration in case of running on android).

SOLVED: Is necessary to unset incorrect proxy configuration. See more: https://ionicframework.com/docs/cli/commands/config-unset

0 Answers