Can't select project when doing ng update
See original GitHub issue🐞 Bug report
Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [x] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Description
When running ng update --all --force is will only update the package.json in the root of the Angular project, but will skip your projects in the projects folder. There is no way to specify the project on the command line. Having a few larges libraries it’s convenient to update projects too.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Cannot update a project from Angular 13 to 14 - Stack Overflow
I have two suggestions: Suggestion 1: First upgrade the @angular-eslint/schematics package. ng update @angular-eslint/schematics@14.
Read more >ng update - Angular
Description. Perform a basic update to the current stable release of the core framework and CLI by running the following command.
Read more >How To Update Angular CLI To Latest Version
To update Angular CLI version in your local projects use the following commands. Navigate to your local Angular project folder and execute the ......
Read more >Angular | WebStorm Documentation - JetBrains
From the Angular CLI list, select npx --package @angular/cli ng. ... It means that you can browse the project's sources but you cannot...
Read more >Error creating Angular stand alone project in Visual Studio 2022
When I click "Create" for the Angular project (using the stand alone template), ... I also updated VS to the latest version.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi all,
Yeah, peerDependencies need to be updated manually one of the reason is that it’s up to the library author to decide the support strategy of their library.
What did you expect to see updated in the library when you updated from version 7 to 8?
Prior to version 9,
ng updatedid update library projects as well.Migrations run against all projects in a workspace. They will run on libraries and applications, if the migration schematic is designed to do so. For version 8 we don’t have any migration that effects a library.
However from the request above, I am assuming that the user (@farlock85) is using some sort of workspace concept maybe with
yarn. Ie having multiplepackage.jsonin various projects. At the moment, this is not supported by the CLI and we only update dependencies in the root package.json.