Ionic installation problem!


#1

I cannot install Ionic , i have installed cordova 6.4.0 , my npm 4.0.2, node v7.2.0
I had Ionic installed previously , i uninstalled and now unable to install it again using “npm install -g ionic” I get this dependency error as follows:

ionic2@2.0.0-rc.1
├── UNMET PEER DEPENDENCY @angular/common@2.0.0
├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0
├── UNMET PEER DEPENDENCY @angular/core@2.0.0
├── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0
└── UNMET PEER DEPENDENCY typescript@^2.0.2

npm WARN @angular/platform-browser-dynamic@2.1.0 requires a peer of @angular/core@2.1.0 but none was installed.
npm WARN @angular/platform-browser-dynamic@2.1.0 requires a peer of @angular/common@2.1.0 but none was installed.
npm WARN @angular/platform-browser-dynamic@2.1.0 requires a peer of @angular/compiler@2.1.0 but none was installed.
npm WARN @angular/platform-browser-dynamic@2.1.0 requires a peer of @angular/platform-browser@2.1.0 but none was installed.
npm WARN @angular/compiler-cli@0.6.2 requires a peer of typescript@^2.0.2 but none was installed.
npm WARN @angular/tsc-wrapped@0.3.0 requires a peer of typescript@^2.0.2 but none was installed.
npm WARN tsickle@0.1.7 requires a peer of typescript@^2.0.0 || ^2.1.0-dev but none was installed.

Please someone help!!!


#2

Try to install node recommended version … Because Most of the issues solved by node recommended version

then

npm install -g cordova
npm install -g ionic …


#3

Sir i removed node current version , and installed node v6.9.1 , i remember it was working previously on this node version… but again i get the same error when installing ionic