Fairly often (but not always), I’m getting the following error on instilling lwip (the Node image processing library):
make: Leaving directory `/home/ubuntu/API/Avenue/node_modules/lwip/build'
npm ERR! Linux 3.13.0-86-generic
npm ERR! argv "/home/ubuntu/nvm/versions/node/v4.3.0/bin/node" "/home/ubuntu/nvm/versions/node/v4.3.0/bin/npm" "install"
npm ERR! node v4.3.0
npm ERR! npm v2.14.12
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
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'
Has anyone found a way of fixing this on CircleCI?
Thanks for reporting this. Our current recommendation is to upgrade to a newer version of node. Currently the newest versions of node we have preinstalled are 5.5 and 6.1 on our 12.04 and 14.04 build images respectively. You can change the build image via the menu in Project settings > Build environment.