Upgrading to Ionic2 beta-11

Hey @sameera207, @nottinhill, I followed both of you answers and got this confusing message

npm ERR! peerinvalid Peer @angular/forms@0.2.0 wants @angular/common@^2.0.0-rc.4 npm ERR! peerinvalid Peer @angular/platform-browser@2.0.0-rc.3 wants @angular/common@2.0.0-rc.3 npm ERR! peerinvalid Peer @angular/platform-browser-dynamic@2.0.0-rc.3 wants @angular/common@2.0.0-rc.3 npm ERR! peerinvalid Peer ionic-angular@2.0.0-beta.11 wants @angular/common@2.0.0-rc.4

How is it possible that it wants both versions?

Gracias,
Andrew

Edit. Strange but this is my ionic info:

Cordova CLI: 6.3.0                                                                                                                           
Ionic Framework Version: 2.0.0-beta.11                                                                                                       
Ionic CLI Version: 2.0.0-beta.36                                                                                                             
Ionic App Lib Version: 2.0.0-beta.19                                                                                                         
ios-deploy version: Not installed                                                                                                            
ios-sim version: Not installed                                                                                                               
OS: Mac OS X El Capitan                                                                                                                      
Node Version: v4.4.7                                                                                                                         
Xcode version: Not installed 

beta.11 seems to have installed even with the messed up dependencies.

UPDATE:
Fixed the issue with @humhann 's fix .

npm install --save ionic-angular@2.0.0-beta.11 @angular/common@2.0.0-rc.4 @angular/compiler@2.0.0-rc.4 @angular/platform-browser@2.0.0-rc.4 @angular/platform-browser-dynamic@2.0.0-rc.4 @angular/http@2.0.0-rc.4 @angular/core@2.0.0-rc.4 rxjs@5.0.0-beta.6 zone.js@0.6.12

1 Like