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
ng update ignores project .npmrc registry #27163
Comments
Can you please run the update command with the |
I was attempting to recreate from scratch, unfortunately have the same issue with |
@samwootton, I looks like you are reporting a a slightly different issue. |
@alan-agius4 same issue, just with "new" instead of "update". |
@alan-agius4 I ran with --verbose, you can see from the log here, the ~/.npmrc is being chose (line 11).
Here is the console output:
I think this could be nvm rather than ng. |
During For However, as highlighted in npm/cli#5460 (comment), unless your company's NPM repository also functions as a proxy to the public repository, employing scopes would certainly be a more recommended approach. |
Thanks @alan-agius4. |
Yes, but there is no ETA for the |
I had the same issue with I recognized that only the temporary installation of the newer |
Command
update
Is this a regression?
The previous version in which this bug was not present was
No response
Description
I have a project level .npmrc with
registry=https://registry.npmjs.org/
and a user level .npmrc with
registry=https://example-company-private-repo.org/
As described here https://docs.npmjs.com/cli/v10/configuring-npm/npmrc project level config should override user level config. The output of npm config:
Minimal Reproduction
ng update (with different registry in .npmrc at the user and project level).
I've removed node_modules (to ensure no packages from the user level registry)
Exception or Error
Angular CLI: 15.2.10
Node: 16.15.0
Package Manager: npm 8.5.5
OS: darwin arm64
Angular:
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.1502.10 (cli-only)
@angular-devkit/build-angular
@angular-devkit/core 15.2.10 (cli-only)
@angular-devkit/schematics 15.2.10 (cli-only)
@angular/cli 15.2.10 (cli-only)
@schematics/angular 15.2.10 (cli-only)
rxjs 6.6.7 (cli-only)
typescript
The text was updated successfully, but these errors were encountered: