ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5
https://adminlte.io
MIT License
44.05k stars 18.16k forks source link

Bower install gives unable to find a suitable version for jquery #1668

Closed aloupfor closed 7 years ago

aloupfor commented 7 years ago

I'm installing AdminLTE using this documentation: https://adminlte.io/docs/2.4/installation.

Runnnig the following commands:

$ npm install bower
$ ./node_modules/.bin/bower install admin-lte

gives the following output:

Unable to find a suitable version for jquery, please choose one by typing one of the numbers below:
    1) jquery#^2.0 which resolved to 2.2.4 and is required by bootstrap-timepicker#0.5.2
    2) jquery#>=1.7 which resolved to 3.2.1 and is required by datatables.net#1.10.16, datatables.net-bs#2.1.1, inputmask#3.3.8
    3) jquery#1.9.1 - 3 which resolved to 3.2.1 and is required by bootstrap#3.3.7, bootstrap-daterangepicker#2.1.25
    4) jquery#>= 1.2.6 which resolved to 3.2.1 and is required by Flot#0.8.3
    5) jquery#^3.2.1 which resolved to 3.2.1 and is required by admin-lte#2.4.0
    6) jquery#>=1.7.1 <4.0.0 which resolved to 3.2.1 and is required by bootstrap-datepicker#1.7.1
    7) jquery#>=1.10 which resolved to 3.2.1 and is required by bootstrap-colorpicker#2.5.1
    8) jquery#>=1.7.0 which resolved to 3.2.1 and is required by jquery-knob#1.2.13
    9) jquery#>= 2.1.0 which resolved to 3.2.1 and is required by morris.js#0.5.1
    10) jquery#>=1.8 which resolved to 3.2.1 and is required by ion.rangeSlider#2.2.0
    11) jquery#>=1.6 which resolved to 3.2.1 and is required by jquery-ui#1.11.4
    12) jquery#2 - 3 which resolved to 3.2.1 and is required by fullcalendar#3.5.1

Prefix the choice with ! to persist it to bower.json

? Answer

I don't think that this is supposed to happen.

almasaeed2010 commented 7 years ago

As line number 5 suggests, AdminLTE depends on jQuery version 3 or above.

Thanks for pointing out the issue. We added more information to the documentation about this.

aSmithMeritage commented 6 years ago

unablesuitableversionjquery

ericksonsv commented 6 years ago

Hello i have this error "ECONFLICT Unable to find suitable version for jquery", and bower don't ask about the version i want to use... any update?