mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-24 08:06:17 +08:00
The package manager `--force` option is only relevant to npm 7+ wherein the option controls the strictness of the npm 7+ peer dependency resolution. Yarn 2+ does not support a `--force` option. When the `ng update` `--force` option was used, `ng update` was incorrectly applying the package manager `--force` option to Yarn which lead to an installation failure. This has now been corrected and the package manager `--force` option is now only applied to npm 7+.