0
Gitlab에서 호스팅 한 프로젝트의 종속성을 설치하려고하는데, Runner
은 설치를 완료하지 않습니다. 의존성을 얻으려고 시도하지만 항상 시간이 초과됩니다. 여기 내 .gitlab-ci.yml
파일입니다Nit install이 Gitlab Continuous Integration에서 성공하지 못합니다.
image: node:4.6.0
test_job:
script:
- hostname
- npm config list
- npm install
- echo "After install"
only:
- master
출력은 다음과 같습니다
npm info attempt registry request try #3 at 3:06:54 PM
npm http request GET https://registry.npmjs.org/babel-register
npm info attempt registry request try #3 at 3:06:54 PM
npm http request GET https://registry.npmjs.org/babel-preset-stage-2
npm info retry will retry, error on last attempt: Error: connect ETIMEDOUT 151.101.12.162:443
npm info retry will retry, error on last attempt: Error: connect ETIMEDOUT 151.101.12.162:443
그리고 마지막으로, 패키지를 검색하려고 15 분 :
npm ERR! Linux 4.4.19-rancher
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.6.0
npm ERR! npm v2.15.9
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'
나는 생각하지 않는다를 이것은 Runner
이 Gitlab이 호스팅하는 Docker 컨테이너에서 실행 중이므로 프록시 문제이지만, 그 외에도 문제점을 알지 못합니다. npm install
가 이렇게 일관되게 실패하는 이유는 무엇입니까?
아마도 npmjs.org가 다운되었습니다. NPM이있는 여러 프로젝트가 있고 모두 잘 돌아갑니다. 나중에 다시 시도해 봤어? – mohamnag
다시 시도해 보니 시간 초과 오류가 계속 발생합니다. – rafafan2010