Received below error when install jasmine - automation

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

Related

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.

Facing issue in setting my first react-native project.

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.

npm install --g gulp - hangs

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> npm install --g gulp
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Karol\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\np
m-cli.js" "install" "--g" "gulp"
npm ERR! node v5.4.1
npm ERR! npm v3.10.5
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 151.101.12.162: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'
npm ERR! Please include the following file with any support request:
npm ERR! C:\Windows\system32\npm-debug.log
PS C:\Windows\system32>
I have a trouble with npm install. I can't install gulp and other libraries. Installation hangs and then i got the error. :(
I found solution :-)
npm config set proxy false
npm cache clean

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.

Redis_Proxy installation error in MAC

I couldnt able to install redis proxy in my Mac Mini. I am getting below error message.
server:$ sudo npm install -g redis-proxy
npm http GET https://registry.npmjs.org/redis-proxy
npm http GET https://registry.npmjs.org/redis-proxy
npm http GET https://registry.npmjs.org/redis-proxy
npm ERR! Error: socket hang up
npm ERR! at SecurePair.error (tls.js:927:23)
npm ERR! at EncryptedStream.CryptoStream.done (tls.js:625:22)
npm ERR! at CleartextStream.read as _read
npm ERR! at CleartextStream.Readable.read (stream_readable.js:304:10)
npm ERR! at EncryptedStream.onCryptoStreamFinish (tls.js:292:47)
npm ERR! at EncryptedStream.g (events.js:175:14)
npm ERR! at EncryptedStream.EventEmitter.emit (events.js:117:20)
npm ERR! at finishMaybe (streamwritable.js:344:12)
npm ERR! at endWritable (streamwritable.js:351:3)
npm ERR! at EncryptedStream.Writable.end (streamwritable.js:329:5)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-#googlegroups.com
Want to change the npmjs url to GET http://registry.npmjs.org/redis-proxy