{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/12835","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/12835/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/12835/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/12835/events","html_url":"https://github.com/angular/angular-cli/issues/12835","id":376431451,"node_id":"MDU6SXNzdWUzNzY0MzE0NTE=","number":12835,"title":"ng update @angular/core: This request requires auth credentials","user":{"login":"alvaro450","id":6200523,"node_id":"MDQ6VXNlcjYyMDA1MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/6200523?v=4","gravatar_id":"","url":"https://api.github.com/users/alvaro450","html_url":"https://github.com/alvaro450","followers_url":"https://api.github.com/users/alvaro450/followers","following_url":"https://api.github.com/users/alvaro450/following{/other_user}","gists_url":"https://api.github.com/users/alvaro450/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaro450/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaro450/subscriptions","organizations_url":"https://api.github.com/users/alvaro450/orgs","repos_url":"https://api.github.com/users/alvaro450/repos","events_url":"https://api.github.com/users/alvaro450/events{/privacy}","received_events_url":"https://api.github.com/users/alvaro450/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-01T15:03:30Z","updated_at":"2018-11-01T16:53:42Z","closed_at":"2018-11-01T16:53:42Z","author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [X ] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ X] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\n<!--\r\nOutput from: `node --version`, `npm --version` and `ng --version`.\r\n  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra? High Sierra?)\r\n-->\r\nNode: 10.13.0\r\nnpm: 6.4.1\r\nng 7.0.3\r\n\r\n### Repro steps\r\n<!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run (incl args), packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\nng update @angular/core \r\n\r\n\r\n### The log given by the failure\r\n<!-- Normally this include a stack trace and some more information. -->\r\nThis request requires auth credentials. Run `npm login` and repeat request.\r\n\r\n### Desired functionality\r\n<!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nUpdates angular libraries successfully\r\n\r\n### Mention any other details that might be useful\r\n<!-- Please include a link to the repo if this is related to an OSS project. -->\r\nThe code in @schematics/update/update/npm.ts, the function to read npmrc file only checks LOCALAPPDATA on windows machines, most of our computers have the npmrc at the user level (C://Users/<user>/.npmrc). When it tries to get the npm configuration it is not able to find anything. \r\nWhen RegistryClient issues the GET request to get the package.json file from our repository, it obviously not passing the _auth token, hence the message above.\r\n\r\n"}}
{"actor":{"display_login":"alan-agius4"}}