- Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Milestone
Description
🐞 Bug report
Command (mark with an x)
- [ ] new - [ ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [x] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Is this a regression?
Yes, the previous version in which this bug was not present was: ....Updating angular cli from 8.0.6 to 8.1.0 also updates other angular packages to 8.2.0-next.0 (nextnpm tag)
Description
A clear and concise description of the problem...The cli should update to latest instead of next npm tag.
🔬 Minimal Reproduction
create a angular workspace with angular 8.0.6 and upgrade to 8.1.0
npx -p @angular/cli@8.0.6 ng new bug cd bug npx -p @angular/cli@8.0.6 ng update @angular/cli🔥 Exception or Error
Using package manager: 'yarn' Collecting installed dependencies... Found 81 dependencies. Fetching dependency metadata from registry... Package "ng-packagr" has an incompatible peer dependency to "@angular/compiler-cli" (requires "^6.0.0 || ^7.0.0 || ^8.0.0-beta.0 || ^8.1.0-beta.0" (extended), would install "8.2.0-next.0"). Package "@angular/cdk" has an incompatible peer dependency to "@angular/common" (requires "^8.0.0 || ^9.0.0-0" (extended), would install "8.2.0-next.0"). Package "jest-preset-angular" has an incompatible peer dependency to "@angular/core" (requires ">=2.0.0", would install "8.2.0-next.0"). Package "ng-packagr" has an incompatible peer dependency to "@angular/compiler" (requires "^6.0.0 || ^7.0.0 || ^8.0.0-beta.0 || ^8.1.0-beta.0" (extended), would install "8.2.0-next.0"). Package "jest-preset-angular" has an incompatible peer dependency to "@angular/platform-browser-dynamic" (requires ">=2.0.0", would install "8.2.0-next.0"). Incompatible peer dependencies found. Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together. You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later. 🌍 Your Environment
Angular CLI: 8.0.6 Node: 10.15.0 OS: win32 x64 Angular: 8.1.0 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Package Version ------------------------------------------------------------ @angular-devkit/architect 0.800.6 @angular-devkit/build-angular 0.800.6 @angular-devkit/build-ng-packagr 0.800.6 @angular-devkit/build-optimizer 0.800.6 @angular-devkit/build-webpack 0.800.6 @angular-devkit/core 8.0.6 @angular-devkit/schematics 8.0.1 @angular/cdk 8.0.2 @angular/cli 8.0.6 @ngtools/json-schema 1.2.0 @ngtools/webpack 8.0.6 @schematics/angular 8.0.1 @schematics/update 0.800.6 ng-packagr 5.3.0 rxjs 6.5.2 typescript 3.4.5 webpack 4.30.0 Anything else relevant?
ElodieC, philjones88, FDIM, danibasauri, pfeigl and 61 more