René's URL Explorer Experiment


Title: ng update ignores project .npmrc registry · Issue #27163 · angular/angular-cli · GitHub

Open Graph Title: ng update ignores project .npmrc registry · Issue #27163 · angular/angular-cli

X Title: ng update ignores project .npmrc registry · Issue #27163 · angular/angular-cli

Description: Command update Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description I have a project level .npmrc with registry=https://registry....

Open Graph Description: Command update Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description I have a project leve...

X Description: Command update Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description I have a project leve...

Opengraph URL: https://github.com/angular/angular-cli/issues/27163

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng update ignores project .npmrc registry","articleBody":"### Command\r\n\r\nupdate\r\n\r\n### Is this a regression?\r\n\r\n- [ ] Yes, this behavior used to work in the previous version\r\n\r\n### The previous version in which this bug was not present was\r\n\r\n_No response_\r\n\r\n### Description\r\n\r\nI have a project level .npmrc with\r\n`registry=https://registry.npmjs.org/`\r\nand a user level .npmrc with\r\n`registry=https://example-company-private-repo.org/`\r\n\r\nAs described here https://docs.npmjs.com/cli/v10/configuring-npm/npmrc project level config should override user level config. The output of npm config:\r\n```\r\n; \"user\" config from /Users/sam.wootton/.npmrc\r\n; registry = \"https://example-company-private-repo.org/\" ; overridden by project\r\n; \"project\" config from /Users/sam.wootton/devspace/personal/ngstuff/myproject/.npmrc\r\nregistry = \"https://registry.npmjs.org/\" \r\n; \"cli\" config from command line options\r\n```\r\n\r\n\r\n### Minimal Reproduction\r\n\r\nng update (with different registry in .npmrc at the user and project level).\r\nI've removed node_modules (to ensure no packages from the user level registry)\r\n\r\n### Exception or Error\r\n\r\n```text\r\nRunning ng update, the user level registry is used and the project level one is ignored:\r\n\r\nng update @angular/core@16 @angular/cli@17                                       \r\nThe installed Angular CLI version is outdated.\r\nInstalling a temporary Angular CLI versioned 16.2.12 to perform the update.\r\nnpm ERR! code ENOTFOUND\r\nnpm ERR! syscall getaddrinfo\r\nnpm ERR! errno ENOTFOUND\r\nnpm ERR! network request to https://company-private-repo.org/@angular%2fcli failed, reason: getaddrinfo ENOTFOUND company-private-repo.org\r\nnpm ERR! network This is a problem related to network connectivity.\r\nnpm ERR! network In most cases you are behind a proxy or have bad network settings.\r\nnpm ERR! network \r\nnpm ERR! network If you are behind a proxy, please make sure that the\r\nnpm ERR! network 'proxy' config is set properly.  See: 'npm help config'\r\n```\r\n```\r\n\r\n\r\n### Your Environment\r\n\r\n```\r\nAngular CLI: 15.2.10\r\nNode: 16.15.0\r\nPackage Manager: npm 8.5.5\r\nOS: darwin arm64\r\n\r\nAngular: \u003cerror\u003e\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, router\r\n\r\nPackage                         Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect       0.1502.10 (cli-only)\r\n@angular-devkit/build-angular   \u003cerror\u003e\r\n@angular-devkit/core            15.2.10 (cli-only)\r\n@angular-devkit/schematics      15.2.10 (cli-only)\r\n@angular/cli                    15.2.10 (cli-only)\r\n@schematics/angular             15.2.10 (cli-only)\r\nrxjs                            6.6.7 (cli-only)\r\ntypescript                      \u003cerror\u003e\r\n```\r\n\r\n\r\n### Anything else relevant?\r\n\r\n_No response_","author":{"url":"https://github.com/samwootton","@type":"Person","name":"samwootton"},"datePublished":"2024-02-25T10:39:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/27163/angular-cli/issues/27163"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:08c42e2a-9388-d8c2-347f-dbd3ab1cbfd3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9980:136256:164EFF:1E716A:6A62EC3D
html-safe-nonceac39ed1ecf2bdeb3e427f706958d1a92cad9c62e79a8dba175f22626e5f6f08e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTgwOjEzNjI1NjoxNjRFRkY6MUU3MTZBOjZBNjJFQzNEIiwidmlzaXRvcl9pZCI6Ijc5NzUwMDg3Mjg1NTg3OTE3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac20058a3aa8d92cdd93a781f99abaceb2635481fc87ba4d53e3d676127bd7dd6c
hovercard-subject-tagissue:2152702339
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/27163/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0e478d15fe7c1fe70c41cb0f9c04713d7afc1d4b0f11daf12463e45b1522029e/angular/angular-cli/issues/27163
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0e478d15fe7c1fe70c41cb0f9c04713d7afc1d4b0f11daf12463e45b1522029e/angular/angular-cli/issues/27163
og:image:altCommand update Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description I have a project leve...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesamwootton
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/27163#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F27163
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F27163
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/27163
Reloadhttps://github.com/angular/angular-cli/issues/27163
Reloadhttps://github.com/angular/angular-cli/issues/27163
Please reload this pagehttps://github.com/angular/angular-cli/issues/27163
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 269 https://github.com/angular/angular-cli/issues
Pull requests 29 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security and quality 5 https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security and quality https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Bughttps://github.com/angular/angular-cli/issues?q=type:"Bug"
#33364https://github.com/angular/angular-cli/pull/33364
#32959https://github.com/angular/angular-cli/pull/32959
ng update ignores project .npmrc registryhttps://github.com/angular/angular-cli/issues/27163#top
#33364https://github.com/angular/angular-cli/pull/33364
#32959https://github.com/angular/angular-cli/pull/32959
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
freq1: lowOnly reported by a handful of users who observe it rarelyhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
ng update DXhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22ng%20update%20DX%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
https://github.com/samwootton
samwoottonhttps://github.com/samwootton
on Feb 25, 2024https://github.com/angular/angular-cli/issues/27163#issue-2152702339
https://docs.npmjs.com/cli/v10/configuring-npm/npmrchttps://docs.npmjs.com/cli/v10/configuring-npm/npmrc
area: @angular/clihttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fcli%22
freq1: lowOnly reported by a handful of users who observe it rarelyhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
ng update DXhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22ng%20update%20DX%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Bughttps://github.com/angular/angular-cli/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.