-
Notifications
You must be signed in to change notification settings - Fork 12k
ng update takes from registry.npmjs.com rather than github #10642
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
Comments
from #10614 , to temporarily get past this
|
Not sure if this helps, I'm using a private npm registry and uses |
Commenting out the dependency in |
Any news about this issue? We tried migrating to Angular 7, but ng update failed with 404 due to calls to the wrong registry... |
I am also having an issue with this. I have a private registry set in my global npmrc (and yarnrc) and the cli seems to be playing by it's own rules rather than respecting the global config. I also tried setting a local npmrc file and had the same issue. |
Any update on this issue? |
The Angular CLI will honor the configuration found in .npmrc files. If you are encountering issues in this regard please open a separate issue detailing the problem. |
@clydin Thanks for the reply and sorry for the misunderstanding. I will open a separate issue. |
This issue should not just be from github but for private repo manager URL. The ng update command should be smart enough to see that there is an .npmrc file and then update based on that. Fall back should be the npm registry if it can't find a repo. |
Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem. If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
team/repo-name
should work, or with tarball:https://api.github.com/repos/team/repo-name/tarball
.ng update
Observed behavior
Desired behavior
It shouldn't look to registry.npmjs when a github version is referred.
Mention any other details that might be useful (optional)
The text was updated successfully, but these errors were encountered: