iominh / ng-scrollbars

Angular wrapper of Malihu's jQuery Custom Scrollbar
http://iominh.github.io/ng-scrollbars/
MIT License
202 stars 62 forks source link

bower install can't find 0.0.6 #29

Closed jmls closed 8 years ago

jmls commented 8 years ago

getting an error trying to install :

bower ng-scrollbars#^0.0.6 ENORESTARGET No tag found that was able to satisfy ^0.0.6

I see that there is a 0.0.6 release in the repo - was it ever pushed to npm ?

thanks

iominh commented 8 years ago

Hmm what command did you use to bower install 0.0.6 and is there any reason not to use the latest 0.0.10?

I kind of blotched the 0.0.7 release to npm so that's why 0.0.8 was pushed out, so you can't install 0.0.7. I can probably fix that though

Minhs-MBP:test minhnguyen$ bower install ng-scrollbars#0.0.6
bower ng-scrollbars#0.0.6       cached git://github.com/iominh/ng-scrollbars.git#0.0.6
bower ng-scrollbars#0.0.6     validate 0.0.6 against git://github.com/iominh/ng-scrollbars.git#0.0.6
bower malihu-custom-scrollbar-plugin#>=3.0.7           cached git://github.com/malihu/malihu-custom-scrollbar-plugin.git#3.1.3
bower malihu-custom-scrollbar-plugin#>=3.0.7         validate 3.1.3 against git://github.com/malihu/malihu-custom-scrollbar-plugin.git#>=3.0.7
bower angular#^1.2.21                                  cached git://github.com/angular/bower-angular.git#1.4.9
bower angular#^1.2.21                                validate 1.4.9 against git://github.com/angular/bower-angular.git#^1.2.21
bower jquery-mousewheel#>=3.0.6                        cached git://github.com/jquery/jquery-mousewheel.git#3.1.13
bower jquery-mousewheel#>=3.0.6                      validate 3.1.13 against git://github.com/jquery/jquery-mousewheel.git#>=3.0.6
bower jquery#>=1.6                                     cached git://github.com/jquery/jquery-dist.git#2.2.0
bower jquery#>=1.6                                   validate 2.2.0 against git://github.com/jquery/jquery-dist.git#>=1.6
bower angular#^1.2.21                                     new version for git://github.com/angular/bower-angular.git#^1.2.21
bower angular#^1.2.21                                 resolve git://github.com/angular/bower-angular.git#^1.2.21
bower jquery#>=1.6                                        new version for git://github.com/jquery/jquery-dist.git#>=1.6
bower jquery#>=1.6                                    resolve git://github.com/jquery/jquery-dist.git#>=1.6
bower jquery#>=1.6                                   download https://github.com/jquery/jquery-dist/archive/2.2.1.tar.gz
bower angular#^1.2.21                                download https://github.com/angular/bower-angular/archive/v1.5.0.tar.gz
bower jquery#>=1.2.2                                   cached git://github.com/jquery/jquery-dist.git#2.2.0
bower jquery#>=1.2.2                                 validate 2.2.0 against git://github.com/jquery/jquery-dist.git#>=1.2.2
bower jquery#>=1.2.2                                      new version for git://github.com/jquery/jquery-dist.git#>=1.2.2
bower jquery#>=1.2.2                                  resolve git://github.com/jquery/jquery-dist.git#>=1.2.2
bower jquery#>=1.2.2                                 download https://github.com/jquery/jquery-dist/archive/2.2.1.tar.gz
bower jquery#>=1.6                                    extract archive.tar.gz
bower jquery#>=1.2.2                                  extract archive.tar.gz
bower angular#^1.2.21                                 extract archive.tar.gz
bower angular#^1.2.21                                resolved git://github.com/angular/bower-angular.git#1.5.0
bower jquery#>=1.6                                   resolved git://github.com/jquery/jquery-dist.git#2.2.1
bower jquery#>=1.2.2                                 resolved git://github.com/jquery/jquery-dist.git#2.2.1
bower ng-scrollbars#0.0.6                             install ng-scrollbars#0.0.6
bower malihu-custom-scrollbar-plugin#>=3.0.7          install malihu-custom-scrollbar-plugin#3.1.3
bower jquery-mousewheel#>=3.0.6                       install jquery-mousewheel#3.1.13
bower angular#^1.2.21                                 install angular#1.5.0
bower jquery#>=1.6                                    install jquery#2.2.1

ng-scrollbars#0.0.6 bower_components/ng-scrollbars
├── angular#1.5.0
└── malihu-custom-scrollbar-plugin#3.1.3

malihu-custom-scrollbar-plugin#3.1.3 bower_components/malihu-custom-scrollbar-plugin
├── jquery#2.2.1
└── jquery-mousewheel#3.1.13

jquery-mousewheel#3.1.13 bower_components/jquery-mousewheel
└── jquery#2.2.1

angular#1.5.0 bower_components/angular

jquery#2.2.1 bower_components/jquery
Minhs-MBP:test minhnguyen$ npm install ng-scrollbars@0.0.6
/wrk/test
└─┬ ng-scrollbars@0.0.6 
  ├── angular@1.5.0 
  └─┬ malihu-custom-scrollbar-plugin@3.1.3 
    └── jquery-mousewheel@3.1.13 

npm WARN enoent ENOENT: no such file or directory, open '/wrk/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.
Minhs-MBP:test minhnguyen$ npm install ng-scrollbars@0.0.7
npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/minhnguyen/.nvm/versions/node/v5.7.1/bin/node" "/Users/minhnguyen/.nvm/versions/node/v5.7.1/bin/npm" "install" "ng-scrollbars@0.0.7"
npm ERR! node v5.7.1
npm ERR! npm  v3.6.0

npm ERR! No compatible version found: ng-scrollbars@0.0.7
npm ERR! Valid install targets:
npm ERR! 0.0.10, 0.0.9, 0.0.8, 0.0.6, 0.0.5, 0.0.4
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /wrk/test/npm-debug.log
Minhs-MBP:test minhnguyen$ 
jmls commented 8 years ago

and, as if magic, it now installs 0.0.10 ...

I have no idea why - I tried forever before raising this issue :(

sorry for the waste of bandwidth

iominh commented 8 years ago

No worries! I'm glad it worked! That is indeed odd that it wasn't installing before. I think Bower might be slightly less reliable than NPM because Bower relies on the Github repo whereas NPM has its own servers.

With that said, I personally check in my bower_components for projects and may consider checking in NPM's node_modules just because you never know if the public servers will ever be unavailable