zachfitz / Ionic-Material

Material Design style and animations for Ionic
http://ionicmaterial.com
Other
2.9k stars 904 forks source link

Issue when installing with bower #223

Open Toomavic opened 7 years ago

Toomavic commented 7 years ago

Today is 21st of March 2017

If you created blank project using ionic 1, there will be a different in versions of Angular , Angular animate, Angular sanitize and Angular UI-Route ionic start myApp blank I tried to install Ionic Material using bower install ionic-material

But I have been asked

Unable to find a suitable version for angular-animate, please choose one by typing one of the numbers below: 1) angular-animate#1.3.13 which resolved to 1.3.13 and is required by ionic#1.0.1 2) angular-animate#1.5.3 which resolved to 1.5.3 and is required by ionic#1.3.2

I choosed 2 , then another question pops up

Unable to find a suitable version for angular-sanitize, please choose one by typing one of the numbers below: 1) angular-sanitize#1.3.13 which resolved to 1.3.13 and is required by ionic#1.0.1 2) angular-sanitize#1.5.3 which resolved to 1.5.3 and is required by ionic#1.3.2

Again I choosed 2 , then another question pops up

Unable to find a suitable version for ionic, please choose one by typing one of the numbers below: 1) ionic#~1.0.0 which resolved to 1.0.1 and is required by ionic-material#0.4.2 2) ionic#1.3.2 which resolved to 1.3.2 and is required by HelloIonic

Again I choosed 2 , then another question pops up

Unable to find a suitable version for angular, please choose one by typing one of the numbers below: 1) angular#1.3.13 which resolved to 1.3.13 and is required by angular-animate#1.3.13, angular-sanitize#1.3.13, ionic#1.0.1 2) angular#1.5.3 which resolved to 1.5.3 and is required by angular-animate#1.5.3, ionic#1.3.2 3) angular#>= 1.0.8 which resolved to 1.6.3 and is required by angular-ui-router#0.2.13 4) angular#>=1.0.8 which resolved to 1.6.3 and is required by ngstorage#0.3.11

Finally I choosed 2 I don't know why I choosed 2 everytime , and I don't know also which version should be used together

I've dig into google, but nothing give an answer

I hope I find solution here

MarceloAplanalp commented 7 years ago

This is a well known angular issue. To solve it you need to refer to the same version in angular (core), sanitarize and all the others angular dependences. Please freeze the versions in your package.json/bower.json to avoid the same problem in a future

Toomavic commented 7 years ago

So , Which version numbers you suggest should I 'freeze' them?

shivarajnaidu commented 7 years ago

is groupe still active?

Toomavic commented 7 years ago

Yes