Our company has WebSense installed and using a self-signed root cert, so
all my SSL requests going out failed. I fixed the issue by importing that
cert into my Java keystore, but how to do this for npm? I suspect the
following error is due to this cert. The security dept told me there is no
proxy installed.
C:\OTPPB2015\Workspace\JavaScript\scapegoat>npm install mocha --save-dev
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Tools\\nodejs\\node.exe"
"C:\\Tools\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
"install" "mocha" "--save-dev"
npm ERR! node v4.1.1
npm ERR! npm v2.14.4
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect
npm ERR! Error: connect ECONNREFUSED 172.21.85.31:80
npm ERR! at Object.exports._errnoException (util.js:837:11)
npm ERR! at exports._exceptionWithHostPort (util.js:860:20)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1060:14)
npm ERR! { [Error: connect ECONNREFUSED 172.21.85.31:80]
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect',
npm ERR! address: '172.21.85.31',
npm ERR! port: 80,
npm ERR! parent: 'scapegoat' }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! C:\OTPPB2015\Workspace\JavaScript\scapegoat\npm-debug.log
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/9c021e60-2933-412e-bbfd-23809ca7b02a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.