Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why can not use v2.1.0 with bower? #45

Closed
libitte opened this issue Oct 6, 2015 · 11 comments
Closed

why can not use v2.1.0 with bower? #45

libitte opened this issue Oct 6, 2015 · 11 comments

Comments

@libitte
Copy link

libitte commented Oct 6, 2015

sanitize.css is published v2.1.0 for npm but not for bower.
Why is the version of the bower package supplied as the older version?
I wish the bower package is published as v2.1.0.

@jonathantneal
Copy link
Collaborator

I needed to update bower.json and that has been done. Thanks!

@libitte
Copy link
Author

libitte commented Oct 6, 2015

Thank you for your support 7b60c2e .
But, I couldn't fetch sanitize-css#2.1.1 from bower 😢

bower sanitize-css#2.1.1    not-cached git://github.com/jonathantneal/sanitize.css.git#2.1.1
bower sanitize-css#2.1.1       resolve git://github.com/jonathantneal/sanitize.css.git#2.1.1
bower sanitize-css#*            cached git://github.com/jonathantneal/sanitize.css.git#1.1.0
bower sanitize-css#*          validate 1.1.0 against git://github.com/jonathantneal/sanitize.css.git#*
bower sanitize-css#2.1.1    not-cached git://github.com/jonathantneal/sanitize.css.git#2.1.1
bower sanitize-css#2.1.1       resolve git://github.com/jonathantneal/sanitize.css.git#2.1.1
bower sanitize-css#2.1.1  ENORESTARGET No tag found that was able to satisfy 2.1.1

Additional error details:
Available versions: 1.1.0

@FabianBeiner
Copy link
Contributor

@libitte: Looks like you're trying to get it from @jonathantneal's fork. Give https://github.com/10up/sanitize.css a try.

@libitte
Copy link
Author

libitte commented Oct 6, 2015

Oops.

@FabianBeiner Thank you for you kindness.
I could fetch sanitize-css#2.1.0 from bower!

bower sanitize-css#2.1.0    not-cached git://github.com/10up/sanitize.css.git#2.1.0
bower sanitize-css#2.1.0       resolve git://github.com/10up/sanitize.css.git#2.1.0
bower sanitize-css#2.1.0      download https://github.com/10up/sanitize.css/archive/v2.1.0.tar.gz
bower sanitize-css#2.1.0       extract archive.tar.gz
bower sanitize-css#2.1.0      mismatch Version declared in the json (2.0.0) is different than the resolved one (2.1.0)
bower sanitize-css#2.1.0      resolved git://github.com/10up/sanitize.css.git#2.1.0
bower sanitize-css#2.1.0       install sanitize-css#2.1.0

sanitize-css#2.1.0 bower_components/sanitize-css

@thasmo
Copy link

thasmo commented Oct 14, 2015

@jonathantneal, I still can't install this via bower.json "sanitize-css": "~2.1". It says:

bower sanitize-css#~2.1   ENORESTARGET No tag found that was able to satisfy ~2.1
Additional error details:
Available versions: 1.1.0

Also searching for "sanitize" on the bower.io website doesn't show anything.

@thasmo
Copy link

thasmo commented Oct 16, 2015

Seems like that sanitize-css shows up on bower.io now, but it points to jonathantneal/sanitize.css which is why it can't find version 2.1.

@thasmo
Copy link

thasmo commented Oct 23, 2015

@jonathantneal, is there anything I can do to have this fixed? Thanks!

@jonathantneal
Copy link
Collaborator

@thasmo, I updated bower.json earlier today, tagged the v3 release, and synced up my old repo. Would you be able to see if this is now resolved?

@thasmo
Copy link

thasmo commented Oct 23, 2015

@jonathantneal, sanitize-css points to git://github.com/jonathantneal/sanitize.css.git. Is this intended ot should it point to 10up/sanitize.css instead?

@jonathantneal
Copy link
Collaborator

Ugh, bower was a real pain. Would you please check again? Thank you in advance. Fingers crossed.

@thasmo
Copy link

thasmo commented Oct 23, 2015

It's not that bad. xD Yep, works now - thanks a lot! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants