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
Bower installing a very old version (0.3.0) #60
Comments
It seems to be related to this bower/semver issue. All versions that include dashes are being treated as "pre-release" versions. This problem might be overcome by creating a bower.json but I need to confirm this. |
If bower doesn't comply with the semantics of
|
semver spec says
so |
bower should probably install the "normal version" that is the next lowest version of the "major.minor.patch" of the current pre-release version. Instead of ignoring all pre-release versions. If a bower module author has |
Putting aside the disagreement on how Bower resolves the latest package, in the very least it would be beneficial to document this somewhere. Although it didn't take long to figure out that I had the wrong version, it's not something you want people to be constantly hitting. |
Thinking about it a bit more, bower probably won't change their semantics. If you want to be kinder to people using bower you should probably add a |
Nice catch! |
For those finding this via Google (as I did), the quick fix is:
|
Latest is now "1.0.0" so this shouldn't be a problem anymore. |
I'm not sure if bluebird supports bower or not, but it's listed in the repository and attempting to install bluebird will install version 0.3.0.
bower search bluebird
gives:bluebird git://github.com/petkaantonov/bluebird.git
bower install bluebird
gives:The text was updated successfully, but these errors were encountered: