The [email protected] npm package has outdated typings. This version of ionic depends on [email protected] in which a few components (e.g. AppViewManager) were renamed. However the typings (e.g. /ionic/components/nav.d.ts) still import the old components.
@eugenpodaru AFAIK Ionic 2.0.0-beta.6 depends on Angular 2.0.0-beta.15 and not on beta.16. There's a bug in Angular 2.0.0-beta.16 which breaks the app and also a change detection regression. Where have you found the dependency on [email protected]?
@iignatov Yes, you are right, it depends on [email protected]. I checked the package.json in the current branch and not the package.json in the actual release.
I downgraded to [email protected] and it compiles again. Thanks and sorry :)
npm install angular2@^2.0.0-beta.15 --save-exact
dev@ /Users/guillaume/Dev/
├── [email protected] extraneous
├── UNMET PEER DEPENDENCY es6-shim@^0.35.0
├── UNMET PEER DEPENDENCY [email protected]
├── UNMET PEER DEPENDENCY [email protected]
└── UNMET PEER DEPENDENCY zone.js@^0.6.12
npm WARN [email protected] requires a peer of es6-shim@^0.35.0 but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of zone.js@^0.6.12 but none was installed.
How to install angular2@^2.0.0-beta.15 plz ?
@GuillaumeM69 You have to add those packages in the package.json as explicit dependencies for your application.
Most helpful comment
@GuillaumeM69 You have to add those packages in the package.json as explicit dependencies for your application.