npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

connect ECONNREFUSED on `npm install`


I cloned a project ant-design-pro from GitHub then I entered the folder and performed an npm install

it keeps giving an error

fetchMetadata: sill fetchPackageMetaData error for pkgName@pkgVersion request to failed, reason: connect ECONNREFUSED

Nothing is running at port 8888 I checked with lsof -i :8888 and didn’t get a response back.

The process goes on as multiple packages fail and then ends with a stack trace that looks like this (see the link). npm error.log (2.8 KB)

I do have a good and stable internet connection.
Please help me fix this issue.