Facing issue in setting my first react-native project. - npm

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "--save-exact" "react-native"
npm ERR! node v4.2.1
npm ERR! npm v3.10.6
npm ERR! code ECONNRESET
npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy proxy:8083
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! /Users/i816556/AwesomeProject/npm-debug.log
npm install --save --save-exact react-native failed

Probably you have some npm related issues. Check this question for more help.

Related

Received below error when install jasmine

install command - npm install --save-dev jasmine-reporters#^2.0.0
Error
npm ERR! Windows_NT 10.0.17134
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--save-dev" "jasmine-reporters#2.0.0"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND br.psa br.psa:443
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'
according to error have you set your proxy because, when I am in my college computer lab I get this kind of error often.
here some useful link for that
https://github.com/npm/npm/issues/8151
npm ERR network getaddrinfo ENOTFOUND

unable to install bower in windows 10 using npm

I am unable to install bower in windows 10 using npm.
The Error message I get is:
C:\WINDOWS\system32>npm install -g bower
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "bower"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 74.122.238.10:8080
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! C:\WINDOWS\system32\npm-debug.log
What's wrong?
It looks like a network connection timed out.
Check your Internet connectivity and try the command again later.
If you are using a proxy for your internet, npm needs to be configured properly for that. See https://docs.npmjs.com/misc/config#proxy.

Error with NPM install - code ENOTFOUND

I am trying to run 'npm install' for my homework assignment - which has the package.json file given to me already but I keep on getting the following error:
Ramons-MacBook-Pro-3:project4 sacrams14$ npm install
npm WARN package.json project4#1.0.0 No repository field.
npm WARN package.json project4#1.0.0 No README data
npm ERR! Darwin 14.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v2.14.12
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:80
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! /Users/sacrams14/Dropbox/CS 142/project4/npm-debug.log
It really seems that there is problem with your internet connection.
Please check internet connectivity (seems to work beacause you were able to write here ;)).
Check current version of npm and your installed version. Maybe old version is not able to contact with server.
Check out if your firewall allows npm to contact with the internet.

Just CANNOT install ember-cli with npm

I'm running on mac osx yosemite 10.10.5 & this is what I get whenever I hit npm install -g ember-cli
npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/itsfadnis/.nvm/versions/io.js/v3.3.1/bin/iojs" "/Users/itsfadnis/.nvm/versions/io.js/v3.3.1/bin/npm" "install" "-g" "ember-cli" "--no-optional"
npm ERR! node v3.3.1
npm ERR! npm v2.14.3
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 103.245.222.162:80
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! /Users/itsfadnis/npm-debug.log
I have tried the following and none have worked:
Reinstall node and npm
npm set registry http://registry.npmjs.org
Tried with different versions of node - v0.12.8, iojs-v3.3.1, v4.4.2, v5.0
Without optional dependencies npm install -g ember-cli
As administrator sudo npm install -g ember-cli
Network connection is absolutely fine and I'm not behind a proxy.
Any help on this would be appreciated. Thanks.
Turns out it was failing due to a firewall enabled on my router. Disabling it did the trick!

npm install -g ionic not working on windows 7 even I am not on proxy

I am kinda stuck here, npm install -g ionic not working on my home computer which is windows 7 and i dont have any proxy. i am able to download other packages like npm install -g gulp etc.
Already tried changing as suggested by other guys on stackoverflow here
npm config set registry http://registry.npmjs.org/
I am getting bellow error
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 settin
gs.
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! Windows_NT 6.1.7600
npm ERR! argv "C:\\node\\\\node.exe" "C:\\node\\node_modules\\npm\\bin\\npm-cli.
js" "install" "ionic"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
Try to clear cache first:
npm cache clean
and then Try to install again
npm install -g ionic