-
Notifications
You must be signed in to change notification settings - Fork 124
Bower.cmd is run with --force-latest flag #665
Comments
I'm facing the same issue. Related: #575 |
I just experienced this issue myself. As a work around you can open command prompt and use:
|
TFS Bug#241382 |
Another temporal hack, could be change the contents of The file You should replace:
With:
The above piece of code will check parameters and, if |
I got this issue 'fixed' by switching to a windows installed GIT instead of using the VS one. See http://stackoverflow.com/questions/37584520/bootstrap-3-3-6-jquery-2-2-4-version-exception/38460014#38460014 |
+1 bugfix please fix |
Is there any update on this issue ? |
I'm trying to use ASP.NET Core with NPM, Bower and Gulp. In the Bower config file I set the jQuery version to 2.2.3, but the compiler runs the Bower.cmd with the flag --force-latest. This installs the latest jQuery version 3.1.0, causing incompatibilities with Bootstrap 3.6. As of now I see no way to work around this.
Log:
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\Bower.cmd" install jquery#2.2.3 --force-latest --save bower jquery#>=1.8 cached https://github.com/jquery/jquery-dist.git#3.1.0 bower jquery#>=1.8 validate 3.1.0 against https://github.com/jquery/jquery-dist.git#>=1.8 bower jquery#~2.2.3 cached https://github.com/jquery/jquery-dist.git#2.2.4 bower jquery#~2.2.3 validate 2.2.4 against https://github.com/jquery/jquery-dist.git#~2.2.3 bower jquery#1.9.1 - 2 cached https://github.com/jquery/jquery-dist.git#2.2.4 bower jquery#1.9.1 - 2 validate 2.2.4 against https://github.com/jquery/jquery-dist.git#1.9.1 - 2 bower jquery#2.2.3 cached https://github.com/jquery/jquery-dist.git#2.2.3 bower jquery#2.2.3 validate 2.2.3 against https://github.com/jquery/jquery-dist.git#2.2.3 bower jquery#>= 1.7.2 cached https://github.com/jquery/jquery-dist.git#3.1.0 bower jquery#>= 1.7.2 validate 3.1.0 against https://github.com/jquery/jquery-dist.git#>= 1.7.2 bower jquery extra-resolution Unnecessary resolution: jquery#>= 1.7.2 bower font-awesome extra-resolution Unnecessary resolution: font-awesome#4.6.1 bower jquery#2.2.3 install jquery#2.2.3 jquery#2.2.3 wwwroot\lib\jquery
The text was updated successfully, but these errors were encountered: