Some of dependencies not installing with ionic 2.0


#1

I am trying to build the project after checkout which dont have node_modules. I ran npm install. But I am getting following warnings

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\ch
okidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.0.14: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”
})
npm WARN @angular/core@2.1.1 requires a peer of zone.js@^0.6.21 but none was ins
talled.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/common@^2.0.0 but
none was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/compiler@^2.0.0 bu
t none was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/compiler-cli@^0.6.
2 but none was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/forms@^2.0.0 but n
one was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/http@^2.0.0 but no
ne was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/platform-browser@^
2.0.0 but none was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/platform-browser-d
ynamic@^2.0.0 but none was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of @angular/platform-server@^2
.0.0 but none was installed.
npm WARN ionic-angular@2.0.0-rc.1 requires a peer of zone.js@^0.6.21 but none wa
s installed.

my ionic2 versions are

6.3.1

Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v4.5.0

Because of failing dependencies, I am getting compilation issues.


#2

Have you included these dependencies in your app’s package.json?


#3

thanks for the reply. Just need your clarification.

I upgraded Ionic2 from beta to RC two weeks back by uninstalling and installing ionic. I dont have these dependencies in my package.json and it got downloaded fine. But why now? Is there anything changed? Also when I ran “ionic info” from my new workspace, it shows Ionic Framework Version: 2.0.0-rc.1 where as the old workspace shows Ionic Framework Version: 2.0.0-rc.0. Does Ionic version automatically upgrades when we run npm install? Just curious.