When trying to upgrade a RC5 project to Ionic 2 final, I am getting the following output when running npm i after getting rid of the old node_modules directory:
├─┬ angular-cli@1.0.0-beta.22-1
│ ├─┬ @angular-cli/ast-tools@1.0.16
│ │ ├── denodeify@1.2.1
│ │ ├── minimist@1.2.0
│ │ ├─┬ mkdirp@0.5.1
│ │ │ └── minimist@0.0.8
│ │ ├── rxjs@5.1.0
│ │ ├── source-map@0.5.6
│ │ ├── source-map-support@0.4.11
│ │ ├── symbol-observable@1.0.4
│ │ ├── tsickle@0.2.5
│ │ └── typescript@2.0.10
│ ├── @angular-cli/base-href-webpack@1.0.16
│ ├── UNMET PEER DEPENDENCY @angular/compiler@2.2.3
│ ├── UNMET PEER DEPENDENCY @angular/compiler-cli@2.2.3
│ ├── UNMET PEER DEPENDENCY @angular/core@2.2.3
│ ├── UNMET PEER DEPENDENCY @angular/tsc-wrapped@^0.5.0
...
│ ├─┬ UNMET PEER DEPENDENCY webpack@2.1.0-beta.25
...
├── UNMET PEER DEPENDENCY tslint@^4.0.0
...
npm WARN codelyzer@2.0.0-beta.4 requires a peer of tslint@^4.0.0 but none was installed.
npm WARN extract-text-webpack-plugin@2.0.0-rc.2 requires a peer of webpack@^2.2.0 but none was installed.
npm WARN string-replace-loader@1.0.5 requires a peer of webpack@1 || 2 || ^2.0.0-beta || ^2.1.0-beta but none was installed.
npm WARN sass-loader@3.2.3 requires a peer of webpack@^1.12.6 || ^2.1.0-beta but none was installed.
npm WARN webpack-dev-server@2.1.0-beta.9 requires a peer of webpack@^2.1.0-beta but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/compiler@^2.3.1 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/compiler-cli@^2.3.1 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/core@^2.3.1 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/tsc-wrapped@^0.5.0 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of webpack@2.2.0 but none was installed.
I added this to the package.json devDependencies: “tslint”: “^4.0.0”
Then after running npm i again, I get this:
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/compiler@^2.3.1 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/compiler-cli@^2.3.1 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/core@^2.3.1 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of @angular/tsc-wrapped@^0.5.0 but none was installed.
npm WARN @ngtools/webpack@1.2.6 requires a peer of webpack@2.2.0 but none was installed.
npm WARN extract-text-webpack-plugin@2.0.0-rc.2 requires a peer of webpack@^2.2.0 but none was installed.
npm WARN sass-loader@3.2.3 requires a peer of webpack@^1.12.6 || ^2.1.0-beta but none was installed.
npm WARN string-replace-loader@1.0.5 requires a peer of webpack@1 || 2 || ^2.0.0-beta || ^2.1.0-beta but none was installed.
npm WARN tslint-loader@2.1.5 requires a peer of tslint@^3.0.0 but none was installed.
npm WARN webpack-dev-server@2.1.0-beta.9 requires a peer of webpack@^2.1.0-beta but none was installed.
The app base has @angular dependencies of 2.2.1, and I’ve been told to use these strictly.
Also, since webpack is not in the package.json devDependencies, should I add it? Has anyone else upgraded from RC5 to final and had these problems?