npm install failure
JackLaBarba opened this issue · 2 comments
JackLaBarba commented
Hi there, we were trying to install your package but we got this error:
$ npm install ember-cli-datepicker --save-dev
/
> ember-cli-datepicker@1.3.0 install /Users/dweebit/lemur-collections/frontend/node_modules/ember-cli-datepicker
> bower install
bower loader.js#1.0.1 cached git://github.com/stefanpenner/loader.js.git#1.0.1
bower loader.js#1.0.1 validate 1.0.1 against git://github.com/stefanpenner/loader.js.git#1.0.1
bower ember-cli-shims#0.0.3 cached git://github.com/stefanpenner/ember-cli-shims.git#0.0.3
bower ember-cli-shims#0.0.3 validate 0.0.3 against git://github.com/stefanpenner/ember-cli-shims.git#0.0.3
bower ember-cli-test-loader#0.0.4 cached git://github.com/rwjblue/ember-cli-test-loader.git#0.0.4
bower ember-cli-test-loader#0.0.4 validate 0.0.4 against git://github.com/rwjblue/ember-cli-test-loader.git#0.0.4
bower ember-load-initializers#0.0.2 cached git://github.com/stefanpenner/ember-load-initializers.git#0.0.2
bower ember-load-initializers#0.0.2 validate 0.0.2 against git://github.com/stefanpenner/ember-load-initializers.git#0.0.2
bower jquery#^1.11.1 cached git://github.com/jquery/jquery.git#1.11.1
bower jquery#^1.11.1 validate 1.11.1 against git://github.com/jquery/jquery.git#^1.11.1
bower handlebars#~1.3.0 cached git://github.com/components/handlebars.js.git#1.3.0
bower handlebars#~1.3.0 validate 1.3.0 against git://github.com/components/handlebars.js.git#~1.3.0
bower ember-data#1.0.0-beta.10 cached git://github.com/components/ember-data.git#1.0.0-beta.10
bower ember-data#1.0.0-beta.10 validate 1.0.0-beta.10 against git://github.com/components/ember-data.git#1.0.0-beta.10
bower ember-resolver#~0.1.7 cached git://github.com/stefanpenner/ember-jj-abrams-resolver.git#0.1.10
bower ember-resolver#~0.1.7 validate 0.1.10 against git://github.com/stefanpenner/ember-jj-abrams-resolver.git#~0.1.7
bower ember#1.7.0 cached git://github.com/components/ember.git#1.7.0
bower ember#1.7.0 validate 1.7.0 against git://github.com/components/ember.git#1.7.0
bower ember-qunit#0.1.8 cached git://github.com/rpflorence/ember-qunit.git#0.1.8
bower ember-qunit#0.1.8 validate 0.1.8 against git://github.com/rpflorence/ember-qunit.git#0.1.8
bower ember-qunit-notifications#0.0.4 cached git://github.com/dockyard/ember-qunit-notifications.git#0.0.4
bower ember-qunit-notifications#0.0.4 validate 0.0.4 against git://github.com/dockyard/ember-qunit-notifications.git#0.0.4
bower qunit#~1.15.0 cached git://github.com/jquery/qunit.git#1.15.0
bower qunit#~1.15.0 validate 1.15.0 against git://github.com/jquery/qunit.git#~1.15.0
bower pikaday#~1.2.0 not-cached git://github.com/dbushell/Pikaday.git#~1.2.0
bower pikaday#~1.2.0 resolve git://github.com/dbushell/Pikaday.git#~1.2.0
bower moment#~2.8.3 cached git://github.com/moment/moment.git#2.8.4
bower moment#~2.8.3 validate 2.8.4 against git://github.com/moment/moment.git#~2.8.3
bower ember-cli-shims#0.0.3 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/stefanpenner/ember-cli-shims.git", exit code of #128
Additional error details:
fatal: read error: Connection reset by peer
npm ERR! ember-cli-datepicker@1.3.0 install: `bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ember-cli-datepicker@1.3.0 install script.
npm ERR! This is most likely a problem with the ember-cli-datepicker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls ember-cli-datepicker
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "ember-cli-datepicker" "--save-dev"
npm ERR! cwd /Users/dweebit/lemur-collections/frontend
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.16
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dweebit/lemur-collections/frontend/npm-debug.log
npm ERR! not ok code 0
Looks like it's failing to fetch ember-cli-shims.
Deleted user commented
Have you managed to come right with this? Did you do this from a fresh install? It might be worth upgrading node to the latest version, delete your bower_components
and node_packages
directories and try load the external libraries again. Let me know how that goes.
Deleted user commented
I bumped into this the other day. I managed to get it to work by running bower install
then npm install
again afterwards. I'm not exactly sure why this happens, but think it has something to do with the fact that datepicker tries to pull in libraries during its install cycle.