angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng update fails when using local library

Open elboukhari opened this issue 8 years ago • 22 comments

Bug Report or Feature Request (mark with an x)

  • [X ] bug report -> please search issues before submitting
  • [ ] feature request Command (mark with an x)
  • [ ] new
  • [ ] build
  • [ ] serve
  • [ ] test
  • [ ] e2e
  • [ ] generate
  • [ ] add
  • [x ] update
  • [ ] lint
  • [ ] xi18n
  • [ ] run
  • [ ] config
  • [ ] help
  • [ ] version
  • [ ] doc Versions node --version : v10.13.0 npm --version : 6.4.1 ng --version :

`Angular CLI: 7.1.0 Node: 10.13.0 OS: linux x64 Angular: 7.1.0 ... animations, cdk, cli, common, compiler, compiler-cli, core ... forms, http, language-service, material ... material-moment-adapter, platform-browser ... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.11.0 @angular-devkit/build-angular 0.11.0 @angular-devkit/build-optimizer 0.11.0 @angular-devkit/build-webpack 0.11.0 @angular-devkit/core 7.1.0 @angular-devkit/schematics 7.1.0 @ngtools/webpack 7.1.0 @schematics/angular 7.1.0 @schematics/update 0.11.0 rxjs 6.3.3 typescript 3.1.6 webpack 4.26.1`

Repro steps just type : ng update

The log given by the failure Not found : XXXXXX ()

In my package.json this library is declared as :

I'm still having the issue even with : "@angular/cli": "7.1.0"

the error is the same as in the previous comment: 404 Not Found - GET https://registry.npmjs.org/XXXXXXX - Not found

Desired functionality just ignore local libraries and update angular ones

Mention any other details that might be useful

elboukhari avatar Nov 27 '18 10:11 elboukhari

This drives me nuts every time there is a major version bump. Could there not be an option similar to allowDirty called ignoreUnresolvedPackages?

benelliott avatar Nov 01 '19 10:11 benelliott

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.