찾다

 >  Q&A  >  본문

node.js - npm install express 或者安装cnpm都是这个样子,是公司网络的原因么

$ npm install -g cnpm --registry=https://registry.npm.taobao.org
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "cnpm" "--registry=https://registry.npm.taobao.org"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect

npm ERR! network connect ETIMEDOUT 114.55.80.225: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:Usersv_wbzhwangnpm-debug.log

PHP中文网PHP中文网2866일 전643

모든 응답(2)나는 대답할 것이다

  • 巴扎黑

    巴扎黑2017-04-17 15:04:40

    네트워크 시간 초과의 가능성은 다양하지만 말하기는 어렵습니다!
    1. 상대방 서버가 연결이 안 될 수도 있어요
    2. 회사에서 네트워크 제한이 있을 수도 있어요
    3. (벽 너머로) 등 어떤 구성 요소를 로컬에 설치했는지

    회신하다
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:04:40

    이런 이유를 배제할 수 없습니다. 이전에 시도한 적이 있지만 오전에 다운로드하여 설치하는 경우도 있지만 오후 내내 설치가 되지 않는 경우도 있습니다.

    회신하다
    0
  • 취소회신하다