Title: minimum-release-age prevents ng update · Issue #33119 · angular/angular-cli · GitHub
Open Graph Title: minimum-release-age prevents ng update · Issue #33119 · angular/angular-cli
X Title: minimum-release-age prevents ng update · Issue #33119 · angular/angular-cli
Description: Issue #31232 proposed minimumReleaseAge (or min-release-age) as a feature for ng update. As it did not get enough upvotes to bring this idea to the backlog. But using minimumReleaseAge create a real problem, when trying to update angular...
Open Graph Description: Issue #31232 proposed minimumReleaseAge (or min-release-age) as a feature for ng update. As it did not get enough upvotes to bring this idea to the backlog. But using minimumReleaseAge create a rea...
X Description: Issue #31232 proposed minimumReleaseAge (or min-release-age) as a feature for ng update. As it did not get enough upvotes to bring this idea to the backlog. But using minimumReleaseAge create a rea...
Opengraph URL: https://github.com/angular/angular-cli/issues/33119
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"minimum-release-age prevents ng update","articleBody":"Issue #31232 proposed minimumReleaseAge (or min-release-age) as a feature for ng update. As it did not get enough upvotes to bring this idea to the backlog.\n\nBut using minimumReleaseAge create a real problem, when trying to update angular.\n\n**What I have**\na small project with angular@21.2.8 ([esday-demo-angular](https://github.com/BePo65/esday-demo-angular)).\n\n`min-release-age=7` in .npmrc\n\n**What I did**\n```\nng update @angular/core@^21 @angular/cli@^21\n```\n\n**What I got**\n```\nThe installed Angular CLI version is outdated.\nInstalling a temporary Angular CLI versioned 21.2.9 to perform the update.\nAn unhandled exception occurred: Process exited with code 1.\nSee \"C:\\Users\\Berni\\AppData\\Local\\Temp\\ng-mGkIxv\\angular-errors.log\" for further details.\n```\nThe content of the logfile:\n```\n[error] Error: Process exited with code 1.\n at ChildProcess.\u003canonymous\u003e (D:\\Projekte\\github\\esday-demo-angular\\node_modules\\@angular\\cli\\src\\package-managers\\host.js:65:28)\n at ChildProcess.emit (node:events:509:28)\n at maybeClose (node:internal/child_process:1124:16)\n at ChildProcess._handle.onexit (node:internal/child_process:306:5)\n```\n\n**my interpretation of what happended**\n1. ng update looks for the latest available version of @angular/cli in npmjs\n2. ng finds v21.2.9\n3. ng tries to install this version as a temporary version\n4. npm (or any other package manager) prevents the installation of @angular/cli@21.2.9 as this version was published only 2 days ago (today is 2026-05-02).\n5. ng updates emits the error `An unhandled exception occurred`\n\nSo to me it looks like `ng update` cannot simply ignore the setting `min-release-age` of the used package manager (or how this option is named in the different package mangers - e.g. pnpm uses \"minimumReleaseAge\").\n\nIMHO this concerns also the last comments in issue #31232 (e.g. by @mattharr in [#31232](https://github.com/angular/angular-cli/issues/31232#issuecomment-4358484935)\n","author":{"url":"https://github.com/BePo65","@type":"Person","name":"BePo65"},"datePublished":"2026-05-02T09:10:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/33119/angular-cli/issues/33119"}
| 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:8b1aae95-d915-6b0d-37bd-25fb848b4722 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBE4:149849:95D59:D3E1C:6A636D43 |
| html-safe-nonce | 2760d2e0b280edfcf59514bd6bfc85ab3c79e649b72c532c359c93ca5222de86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkU0OjE0OTg0OTo5NUQ1OTpEM0UxQzo2QTYzNkQ0MyIsInZpc2l0b3JfaWQiOiI0ODgzMTQ0ODkyNjcwNTA0MjU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ea553940dbfd95c1dbfdccda008b8ae3ba7cfb9b28133abf661ba08a42d39627 |
| hovercard-subject-tag | issue:4368525087 |
| 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/33119/issue_layout |
| twitter:image | https://opengraph.githubassets.com/32ef5bc56543a21bfbfe8a0d59359702c451df7684c8320090f0eb21f5bab2b0/angular/angular-cli/issues/33119 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/32ef5bc56543a21bfbfe8a0d59359702c451df7684c8320090f0eb21f5bab2b0/angular/angular-cli/issues/33119 |
| og:image:alt | Issue #31232 proposed minimumReleaseAge (or min-release-age) as a feature for ng update. As it did not get enough upvotes to bring this idea to the backlog. But using minimumReleaseAge create a rea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BePo65 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| 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 | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width