Skip to content

ng update doesn't respect configured npm registry #18267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 15 tasks
crfrolik opened this issue Jul 15, 2020 · 2 comments
Closed
1 of 15 tasks

ng update doesn't respect configured npm registry #18267

crfrolik opened this issue Jul 15, 2020 · 2 comments

Comments

@crfrolik
Copy link

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Unknown

Description

If you change your npm registry to a private one via npm config set registry, and then run ng update, you get warnings like this:

Fetching dependency metadata from registry...
    404 Not Found - GET https://registry.npmjs.org/foo-bar-baz - Not found

The CLI should be looking in my private registry, not in registry.npmjs.org.

🌍 Your Environment




Angular CLI: 10.0.3
Node: 12.18.2
OS: linux x64

Angular: 10.0.4
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, router
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1000.3
@angular-devkit/build-angular      0.1000.3
@angular-devkit/build-ng-packagr   0.1000.3
@angular-devkit/build-optimizer    0.1000.3
@angular-devkit/build-webpack      0.1000.3
@angular-devkit/core               10.0.3
@angular-devkit/schematics         10.0.3
@angular/cli                       10.0.3
@ngtools/webpack                   10.0.3
@schematics/angular                10.0.3
@schematics/update                 0.1000.3
ng-packagr                         10.0.1
rxjs                               6.6.0
typescript                         3.9.6
webpack                            4.43.0

Anything else relevant?

@alan-agius4
Copy link
Collaborator

Duplicate of #14993

@alan-agius4 alan-agius4 marked this as a duplicate of #14993 Jul 16, 2020
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants