connect ECONNREFUSED 127.0.0.1:8888 on `npm install`


(maotora) #1

Hello,

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 http://registry.npmjs.com/enzyme failed, reason: connect ECONNREFUSED 127.0.0.1:8888

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.

Thanks.


(system) closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.