Skip to content
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 force flag doesn't seem to force #10149

Closed
StephenFluin opened this issue Apr 3, 2018 · 1 comment
Closed

ng update force flag doesn't seem to force #10149

StephenFluin opened this issue Apr 3, 2018 · 1 comment

Comments

@StephenFluin
Copy link
Contributor

Versions

Angular CLI: 6.0.0-rc.0
Node: 9.9.0
OS: linux x64
Angular: 5.1.3
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

@angular/cdk: 5.0.3
@angular/cli: 6.0.0-rc.0
@angular/material: 5.0.3
@angular-devkit/architect: 0.5.0
@angular-devkit/core: 0.5.0
@angular-devkit/schematics: 0.5.0
@ngtools/json-schema: 1.1.0
@schematics/angular: 0.5.0
@schematics/update: 0.5.0
typescript: 2.4.2
webpack: error

Repro steps

$ ng update --all -f
                  Package "angularfire2" has a missing peer dependency of "@firebase/app" @ "^0.1.6".
                  Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=2.4.2 <2.7", would install "2.8.1").
                  Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=2.4.2 <2.7", would install "2.8.1")
Incompatible peer dependencies found. See above.
stephen@cros-stretch:~/workspace/fluin.io$ ng update --all --force
                  Package "angularfire2" has a missing peer dependency of "@firebase/app" @ "^0.1.6".
                  Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=2.4.2 <2.7", would install "2.8.1")
                  Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=2.4.2 <2.7", would install "2.8.1").
Incompatible peer dependencies found. See above.

Desired behavior

ng update --all --force should perform the update despite the incorrect peer dependencies

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants