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

Bower is unable to resolve 1.1.0, no Tag #1

Open
douglasg14b opened this issue May 25, 2017 · 3 comments
Open

Bower is unable to resolve 1.1.0, no Tag #1

douglasg14b opened this issue May 25, 2017 · 3 comments

Comments

@douglasg14b
Copy link

douglasg14b commented May 25, 2017

My project just started throwing errors when trying to resolve some jquery-validation-unobtrusive-extensions dependencies, specifically bower mvcct-enhancer#>=1.1.0. which is pointing to https://github.com/MvcControlsToolkit/mvcct-enhancer.git#>=1.1.0

My project used to point to 1.0.1 which resolves successfully, however it looks like jquery-validation-unobtrusive-extensions requires 1.1.0.

Is this related to there not being a tag for 1.1.0?

@frankabbruzzese
Copy link
Member

frankabbruzzese commented May 25, 2017

Now new version of mvcct-enhancer was published. We are publishing a new version of the Mvc Controls Toolkit. However, it is quite strange what you reported, please be sure that your version of the jquery-validation-unobtrusive-extensions is 1.0.3, and not higher (the new one weare publishing)

@douglasg14b
Copy link
Author

douglasg14b commented May 30, 2017

@frankabbruzzese I am using jquery-validation-unobtrusive-extensions version 1.0.3. Can you try and resolve it's dependencies via bower and see if you get the same issue?

The bower.json here: https://github.com/MvcControlsToolkit/Unobtrusive.Extensions/blob/master/bower.json

Shows "mvcct-enhancer": ">=1.1.0"

I imagine this is the source of the problem?

@frankabbruzzese
Copy link
Member

Now you should be able to use the latest versions of all packages. They are coherent.

Anyway the problem is not in my library. 1.0.3 version is bound to this committ:
https://github.com/MvcControlsToolkit/Unobtrusive.Extensions/tree/ce6f54a40e4462ee215bd5c407585f1212c77f34
that has the right >= 1.0.1 constraint.

The problem is an issue of VS tooling that calls Bower with the force-latest flag. Accordingly, bower select the highets version compatible with the >=1.01 constraint i.e. 1.1.0. The problem affects not only my library but all packages.

See here:

aspnet/Tooling#665

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

2 participants