0
我有我的應用程序,它使用jquery版本1.11.1。現在我安裝了一個typeahead組件,它看起來依賴於不同的jQuery版本(v 1.9) 我發現解決這個問題非常混亂。它說bower包解決庫衝突
Unable to find a suitable version for jquery, please choose one:
1) jquery#~1.9 which resolved to 1.9.1 and is required by typeahead.js#0.9.3
2) jquery#^1.11.1 which resolved to 1.11.3 and is required by myapp
3) jquery#^1.11.3 which resolved to 1.11.3 and is required by ember-truth-helpers#1.2.0
4) jquery#>=1.2 which resolved to 2.1.4 and is required by jquery-cookie#1.4.1
5) jquery#>=1.6 which resolved to 2.1.4 and is required by jquery-ui#1.11.4
6) jquery#>= 1.9.1 which resolved to 2.1.4 and is required by bootstrap#3.3.5
7) jquery#>= 1.7.0 < 2.2.0 which resolved to 2.1.4 and is required by ember#1.13.3
你能幫助我理解了上述消息,什麼是解決這種衝突的最佳方式是什麼?
但是你能幫助我理解這些信息! – testndtv
你的應用程序是建立在許多庫的基礎之上的,而這些庫通常並不總是與最新版本保持一致。但是,您使用的許多庫依賴於jQuery。您依賴的每個庫可能需要jQuery的不同版本範圍,這就是您的情況。 –