2016-07-25 17 views
0

노드 버전 6.3.0 및 npm 버전 3.10.3 인 Windows 10에 TypeScript를 설치할 수 없습니다. 이 솔루션은 코멘트에 Abhishek 언급과 같이 레지스트리를 설정하지만, 그래서 https://로했다 내게 오류TypeScript를 설치할 수 없습니다.

33 error Windows_NT 10.0.10586 
34 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "typescript" 
35 error node v6.3.0 
36 error npm v3.10.3 
37 error code ECONNREFUSED 
38 error errno ECONNREFUSED 
39 error syscall connect 
40 error Error: connect ECONNREFUSED 151.101.8.162:443 
40 error  at Object.exports._errnoException (util.js:1008:11) 
40 error  at exports._exceptionWithHostPort (util.js:1031:20) 
40 error  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14) 
40 error { Error: connect ECONNREFUSED 151.101.8.162:443 
40 error  at Object.exports._errnoException (util.js:1008:11) 
40 error  at exports._exceptionWithHostPort (util.js:1031:20) 
40 error  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14) 
40 error code: 'ECONNREFUSED', 
40 error errno: 'ECONNREFUSED', 
40 error syscall: 'connect', 
40 error address: '151.101.8.162', 
40 error port: 443 } 
41 error If you are behind a proxy, please make sure that the 
41 error 'proxy' config is set properly. See: 'npm help config' 
42 verbose exit [ 1, true ] 
+3

'ECONNREFUSED'는 연결이 거부되었음을 의미합니다. 그리고 프록시 서버를 구성하는 것이 좋습니다 * "프록시를 사용하는 경우 'proxy'구성이 올바르게 설정되었는지 확인하십시오 : 'npm help config'* * –

+0

프록시는 어떻게 찾을 수 있습니까? –

+0

이것은 프로그래밍 관련 질문이 아니므로 질문을 수퍼 유저로 옮겨야합니다. –

답변