Npm install has currently started failing for my project

Builds have started failing due to the following error

make: Entering directory /home/ubuntu/SCiCustomer/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory /home/ubuntu/SCiCustomer/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build’
npm ERR! fetch failed https ://registry.npmjs.org/i/-/i-0.3.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 504
npm ERR! fetch failed https ://registry.npmjs.org/i/-/i-0.3.2.tgz.
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 504
npm ERR! fetch failed https ://registry.npmjs.org/i/-/i-0.3.2.tgz
npm ERR! Linux 3.13.0-79-generic
npm ERR! argv “node” “/home/ubuntu/nvm/v0.10.33/bin/npm” “install”
npm ERR! node v0.10.33
npm ERR! npm v2.13.5
npm ERR! code ECONNRESET

npm ERR! network socket hang up
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! Please include the following file with any support request:
npm ERR! /home/ubuntu/SCiCustomer/npm-debug.log
npm install returned exit code 1
npm install returned exit code 1

Were you able to resolve this?

I am currently experiencing the same problem.

Are you people getting this exact error with ‘i’ package?

can you add ‘i’ version in dependencies in package.json and try again

{
“name”: project-name,
“version”: “0.0.0”,
“dependencies”: {
“i”: “^0.3.4”
},
“devDependencies”: {

},
“engines”: {
“node”: “>=0.8.0”
}
}

P.S. - I currently do not work on the project, that I was getting this error. I think this was the workaround one of the devs did as I remember.

I’m having the same problem today, with lwip.

as I posted, try adding dependency version of lwip which might work.

i think this might also be a node vs nodejs mismatch error, with missing symlinks. https://github.com/Medium/phantomjs#im-on-debian-or-ubuntu-and-the-installer-failed-because-it-couldnt-find-node