Error in the build

Hey guys! I got this error a lot of times when I tried to make a build.
It’s on the RedVentures team.

npm ERR! argv "/home/ubuntu/nvm/versions/node/v4.2.3/bin/node"
"/home/ubuntu/nvm/versions/node/v4.2.3/bin/npm" "install"
npm ERR! node v4.2.3
npm ERR! npm  v2.14.7
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

Could you help us?

1 Like

It seems like the connection is interrupted.

It worked. I set the npm registry.
tks! :slight_smile:

i’m getting the same problem, at ‘WhitespaceVentures’

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’
npm ERR! Linux 3.13.0-116-generic
npm ERR! argv “/opt/circleci/nodejs/v4.2.6/bin/node” “/opt/circleci/nodejs/v4.2.6/bin/npm” “install”
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

I can see that the hosts file on the container is redirecting the npm registry

151.101.36.162 http://registry.npmjs.org

I’ve tried manually setting the npm registry to https://skimdb.npmjs.com/registry but had no luck
seem to only be getting this with the ubuntu 14 image!

whats going on?

okay I’ve got it working - just from rerunning the build again and again,

i think this is still a problem though!

How did you npm registry ?

npm config set registry https://registry.npmjs.org/