0
내 프로젝트 (Windows 7 시스템)에 덤프 4를 설치하려고합니다. 내가 npm install gulp
을 실행할 때 나는이 오류 얻을npm 설치 오류 : ssh : 호스트 github.com 포트 22에 연결 : 연결 시간이 초과되었습니다.
"gulp": "gulpjs/gulp#4.0"
:처럼 그 의존성 내 package.json
보인다
npm ERR! ssh: connect to host github.com port 22: Connection timed out
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm verb exit [ 1, true ]
을하지만 잘 작동 GitHub의에서 저장소를 복제 할 때
git clone https://github.com/gulpjs/gulp.git
회사 방화벽 뒤에이 명령을 실행하고 있습니다. 따라서 내 환경 변수에 프록시를 설정했습니다.
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
내가뿐만 아니라 환경 변수에서 같은 시도 :
http_proxy : http://proxy.company.com:port
https_proxy : https://proxy.company.com:port
은 또한 설정했습니다.
는 또한 시도 : 위의
npm config set proxy http://login:[email protected]:port
npm config set https-proxy http://login:[email protected]:port
없음 작동하는 것 같다 없습니다. 이 문제를 어떻게 해결할 수 있습니까?