alexanderGugel / alexanderGugel/ied
getaddrinfo ENOTFOUND vs https registry
- Lenguaje dominante
- JavaScript
- Estrellas
- 2k
- Forks
- 51
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
When trying to install this particular package `ied` does a bit of work, then fails with a weird `getaddrinfo ENOTFOUND` error:
```
> ied install css-loader
[==============================] 100.00%/usr/local/lib/node_modules/ied/lib/install_cmd.js:65
if (err) throw err
^
Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:80
at errnoException (dns.js:26:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)
>
```
Switching to the https registry does work though:
```
> ied install --registry=https://registry.npmjs.org/ css-loader
>
```
**edit:** not sure switching the `--registry` actually fixed anything, seems intermittent.
Regardless of this bug, perhaps should default to the https endpoint.
```
> ied --version
ied version 0.3.4
> node --version
v4.2.2
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.