Angular CLI: 6.0.0-rc.10
Node: 8.11.1
OS: linux x64
Angular: 6.0.0-rc.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
------------------------------------------------------
@angular-devkit/architect 0.5.13
@angular-devkit/core 0.5.13
@angular-devkit/schematics 0.5.13
@angular/cdk 6.0.0-rc.14
@angular/cli 6.0.0-rc.10
@angular/material 6.0.0-rc.14
@schematics/angular 0.5.13
@schematics/update 0.5.13
rxjs 6.0.0
typescript 2.8.3
ng update @angular/cli in order to convert .angular-cli.json into proper .angular.json> ng update @angular/cli --migrate-only --from=1.7.4
Registry returned 404 for GET on https://registry.npmjs.org/some-private-package
I expect that ng update will just convert my .angular-cli.json into proper .angular.json without digging into my dependencies.
I am also experiencing this issue.
The temporary solution that stopped the error occurring was to delete the local dependency from the package.json file and then run ng update @angular/cli. Once the .angular-cli.json was migrated to angular.json, I added the local dependency back in.
Hello,
I have the same issue!
What is really strange is that I have 2 local packages... And when I removed one, it's working!
I have this problem too. Also I have the same problem with a github/gitlab reference, see #10642
Same issue here.
Same here
I think the best way to fix this issue would be to return an EMPTY observable in the logic to request the package.json when it's a local package (here: https://github.com/angular/angular-cli/blob/master/packages/schematics/update/update/npm.ts#L110 …).
It's on our backlog but not our top priority. Would be easy to fix though. Great first bug :)
hey @hansl, @mgechev
I think, this issue can be closed, cause #13167 was merged
Please, open a new issue if this is still reproducible with the latest CLI, following the template and providing a minimal demo.
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._
Most helpful comment
I am also experiencing this issue.
The temporary solution that stopped the error occurring was to delete the local dependency from the package.json file and then run ng update @angular/cli. Once the .angular-cli.json was migrated to angular.json, I added the local dependency back in.