npm не может получить метеорит
С nodejs v0.10.22 и npm v1.3.14 я попытался установить метеорит, как показано ниже:
$ 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'
Вопрос: это распространенная ошибка? Как мы можем это исправить?
1 ответ
NPM не работает, вы можете использовать зеркало NPM, если оно у вас есть.
npm set registry <registry-location>
Вам придется настроить зеркало или найти кого-то, кто имеет.
Когда вы хотите сбросить до нормального:
npm set registry https://registry.npmjs.org/