Error in the build


#1

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?


#2

It seems like the connection is interrupted.


#3

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


#4

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?


#5

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

i think this is still a problem though!


#6

How did you npm registry ?


#7

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


#8