Skip to content

jQuery version range in bower.json is too broad, allows incompatible jQuery 3.0 #1048

Description

@bessieatrazoyo

bootstrap modals don't work with jQuery 3.0: twbs/bootstrap#16834

I found this to be the case.

I am installing bootstrap with bower and it depends on jQuery. bootstrap-sass goes and gets version 3.0 of jQuery and then the modal won't work.

This is direct from bootstrap-sass: https://github.com/twbs/bootstrap-sass/blob/3.3-stable/bower.json

"dependencies": {
"jquery": ">= 1.9.0"
},
"version": "3.3.6"

So, I think it would help if the version on the dependency was changed.

In the meantime, I did this:

bower uninstall jquery

bower install jquery#2.2.4

I had to confirm the uninstall. I don't know what the best version of jQuery to use is. 2.2.4 let my modal work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions