Title: ng upgrade: incompatible peer dependency error prevents from auto-updating · Issue #10875 · angular/angular-cli · GitHub
Open Graph Title: ng upgrade: incompatible peer dependency error prevents from auto-updating · Issue #10875 · angular/angular-cli
X Title: ng upgrade: incompatible peer dependency error prevents from auto-updating · Issue #10875 · angular/angular-cli
Description: Versions Angular CLI: 6.0.1 Node: 9.11.1 OS: darwin x64 Angular: 5.2.10 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router Package Version -------...
Open Graph Description: Versions Angular CLI: 6.0.1 Node: 9.11.1 OS: darwin x64 Angular: 5.2.10 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser...
X Description: Versions Angular CLI: 6.0.1 Node: 9.11.1 OS: darwin x64 Angular: 5.2.10 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser...
Opengraph URL: https://github.com/angular/angular-cli/issues/10875
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng upgrade: incompatible peer dependency error prevents from auto-updating","articleBody":"\u003c!--\r\nWe will close this issue if you don't provide the needed information.\r\nFor feature requests, delete the form below and describe the requirements and use case.\r\n--\u003e\r\n\r\n### Versions\r\n```\r\nAngular CLI: 6.0.1\r\nNode: 9.11.1\r\nOS: darwin x64\r\nAngular: 5.2.10\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.6.1\r\n@angular-devkit/build-angular 0.6.1\r\n@angular-devkit/build-optimizer 0.6.1\r\n@angular-devkit/core 0.6.1\r\n@angular-devkit/schematics 0.6.1\r\n@angular/cli 6.0.1\r\n@ngtools/webpack 6.0.1\r\n@schematics/angular 0.6.1\r\n@schematics/update 0.6.1\r\nrxjs 5.5.10\r\ntypescript 2.5.3\r\nwebpack 4.6.0\r\n\r\n\r\nmacOS 10.11.6\r\n```\r\n\r\n### Repro steps\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n--\u003e\r\n* Clone the `upgrade` branch of repo https://github.com/juristr/ng-upgrade-test\r\n* `yarn install` (or `npm install` =\u003e I used yarn)\r\n* Try upgrading the Angular dependencies, using for instance `ng update @angular/core`. I already performed the `@angular/cli` upgrade command which adjusts the `angular.json` etc.\r\n\r\n### Observed behavior\r\n```\r\n\u003c!-- Normally this includes a stack trace and some more information. --\u003e\r\n```\r\n\r\nI get the following output\r\n\r\n```\r\n❯ ng update @angular/core\r\n Package \"@angular/compiler-cli\" has an incompatible peer dependency to \"typescript\" (requires \"\u003e=2.7.2 \u003c2.8\", would install \"2.5.3\")\r\nIncompatible peer dependencies found. See above.\r\n```\r\n\r\n### Desired behavior\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\nWhat did you expect to see?\r\n--\u003e\r\nIt should automatically update the Angular dependencies as well as RxJS and TypeScript (as described in the `update.angular.io` guide).\r\n\r\n### Mention any other details that might be useful (optional)\r\n\r\n","author":{"url":"https://github.com/juristr","@type":"Person","name":"juristr"},"datePublished":"2018-05-15T21:35:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":46},"url":"https://github.com/10875/angular-cli/issues/10875"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:198a63da-f315-7baa-5066-3a6548e6d9e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADC6:F4B44:1A61D7D:25090C3:698227F6 |
| html-safe-nonce | 828ed256dc634d93734bb82bd54f993712486a95bb89ffc59052375ad7a11ff9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREM2OkY0QjQ0OjFBNjFEN0Q6MjUwOTBDMzo2OTgyMjdGNiIsInZpc2l0b3JfaWQiOiI1OTY0NTk4MzA0NjY1OTA1MTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8b7f6e7216fad1c1b4829e7aaccb10c2ae1d70170c59da0308eff9dcc3223009 |
| hovercard-subject-tag | issue:323392086 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/10875/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34add9fda70d169e435b9bacfb7108b7b5247521f0c55f2e93f8260e381b21b3/angular/angular-cli/issues/10875 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34add9fda70d169e435b9bacfb7108b7b5247521f0c55f2e93f8260e381b21b3/angular/angular-cli/issues/10875 |
| og:image:alt | Versions Angular CLI: 6.0.1 Node: 9.11.1 OS: darwin x64 Angular: 5.2.10 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | juristr |
| hostname | github.com |
| expected-hostname | github.com |
| None | f29b4256dc96a8de29f6e5fad4bf98fdbfc5cb1dbb313013053581f8470d8a21 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 61292800a4f1180f0b13782adc5da7267ec99b94 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width