Con nodejs v0.10.22 y npm v1.3.14, intenté instalar meteorite como se muestra a continuación:
$ npm install meteorite
npm http GET https://registry.npmjs.org/meteorite
npm http 304 https://registry.npmjs.org/meteorite
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! network socket hang up
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"
Pregunta: ¿Es este un error común? como podemos arreglar esto?
Respuestas
0 para la respuesta № 1NPM estaba inactivo, puede usar un espejo NPM si tiene uno disponible.
npm set registry <registry-location>
Tendrás que configurar un espejo o encontrar a alguien que lo tenga.
Cuando desee restablecer a la normalidad:
npm set registry https://registry.npmjs.org/