Как решить проблему с Gulp?

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'gulp' ]
2 info using npm@5.5.1
3 info using node@v9.3.0
4 verbose npm-session c066422496ece0c0
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for gulp@latest request to https://registry.npmjs.org/gulp failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
8 verbose type system
9 verbose stack FetchError: request to https://registry.npmjs.org/gulp failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
9 verbose stack at ClientRequest.req.on.err (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\node_modules\make-fetch-happen\node_modules\node-fetch-npm\src\index.js:68:14)
9 verbose stack at ClientRequest.emit (events.js:159:13)
9 verbose stack at TLSSocket.socketErrorListener (_http_client.js:389:9)
9 verbose stack at TLSSocket.emit (events.js:159:13)
9 verbose stack at emitErrorNT (internal/streams/destroy.js:64:8)
9 verbose stack at process._tickCallback (internal/process/next_tick.js:152:19)
10 verbose cwd D:\testets\_ready_html
11 verbose Windows_NT 6.3.9600
12 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "gulp"
13 verbose node v9.3.0
14 verbose npm v5.5.1
15 error code ENOTFOUND
16 error errno ENOTFOUND
17 error network request to https://registry.npmjs.org/gulp failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
18 error network This is a problem related to network connectivity.
18 error network In most cases you are behind a proxy or have bad network settings.
18 error network
18 error network If you are behind a proxy, please make sure that the
18 error network 'proxy' config is set properly. See: 'npm help config'
19 verbose exit [ 1, true ]
  • Вопрос задан
  • 461 просмотр
Пригласить эксперта
Ответы на вопрос 1
SagePtr
@SagePtr
Еда - это святое
Либо проблемы с вашим DNS-сервером, либо ваш провайдер блочит npmjs.org
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы