Title: `ng update` breaks on "private" packages · Issue #28834 · angular/angular-cli · GitHub
Open Graph Title: `ng update` breaks on "private" packages · Issue #28834 · angular/angular-cli
X Title: `ng update` breaks on "private" packages · Issue #28834 · angular/angular-cli
Description: Command update Description I'm unsure if this is a regression. But when there is a "private" package in an angular project, ng update fails to run. Minimal Reproduction To reproduce: # use an "old" version to get started npx @angular/cli...
Open Graph Description: Command update Description I'm unsure if this is a regression. But when there is a "private" package in an angular project, ng update fails to run. Minimal Reproduction To reproduce: # use an "old"...
X Description: Command update Description I'm unsure if this is a regression. But when there is a "private" package in an angular project, ng update fails to run. Minimal Reproduction To reproduce: ...
Opengraph URL: https://github.com/angular/angular-cli/issues/28834
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ng update` breaks on \"private\" packages","articleBody":"### Command\n\nupdate\n\n### Description\n\nI'm unsure if this is a regression. But when there is a \"private\" package in an angular project, `ng update` fails to run. \n\n### Minimal Reproduction\n\nTo reproduce:\n```bash\n# use an \"old\" version to get started\nnpx @angular/cli@18.1 new DemoPackageIssue\ncd DemoPackageIssue\n# add a package from the deno std library (not really private..)\nnpx jsr add @std/toml\n# try to upgrade:\nnpx ng update\n```\n\nOr manually add the package to the `package.json` like this:\n```json\n \"dependencies\": {\n \"@angular/animations\": \"^18.1.0\",\n ...\n \"@std/toml\": \"npm:@jsr/std__toml@^1.0.1\",\n },\n\n```\n\n\n### Exception or Error\n\n```text\nUsing package manager: npm\nCollecting installed dependencies...\nFound 28 dependencies.\n✖ Migration failed: 404 Not Found - GET https://registry.npmjs.org/@std%2ftoml - Not found\n See \"/tmp/ng-f4tUqx/angular-errors.log\" for further details.\n```\n\n\n\n### Your Environment\n\n```text\nI didn't test it with anything older as 18.0, but I suspect _all_ versions have this issue. \nAt least 19-rc.1 still has the problem\n```\n\n### Anything else relevant?\n\nThis is an unneeded restriction. When there are packages in the `package.json` that Angular can't 'trace' it should be safe to ignore them. Erroring out is highly inconvenient. ","author":{"url":"https://github.com/SanderElias","@type":"Person","name":"SanderElias"},"datePublished":"2024-11-11T06:11:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/28834/angular-cli/issues/28834"}
| 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:05acf3d2-1da4-b13f-6be0-e5ad41a1a235 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6BC:158964:7FCFB1:83C5AE:6A6382A4 |
| html-safe-nonce | 86b050509d092e6be43082dc74463f6021dfb4546f05fcc9bb2468c3116534b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkJDOjE1ODk2NDo3RkNGQjE6ODNDNUFFOjZBNjM4MkE0IiwidmlzaXRvcl9pZCI6IjIyMzI1ODI3MzA1MTI4MDAzNiIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | 66190a60d44ce2ed1f3bc4015bd0d746be40a8ebe4dc8f9feb9d2b638d45cf58 |
| hovercard-subject-tag | issue:2648281070 |
| 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/28834/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbdd379cacb922983f6445789507a1862342a2b161e056a36c88304140beaed3/angular/angular-cli/issues/28834 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbdd379cacb922983f6445789507a1862342a2b161e056a36c88304140beaed3/angular/angular-cli/issues/28834 |
| og:image:alt | Command update Description I'm unsure if this is a regression. But when there is a "private" package in an angular project, ng update fails to run. Minimal Reproduction To reproduce: # use an "old"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SanderElias |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| 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 | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width