You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=3.4 <3.5", would install "3.5.3")
Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=3.1 < 3.5", would install "3.5.3")
Package "@angular/http" has an incompatible peer dependency to "@angular/core" (requires "7.2.15", would install "8.1.3")
Package "nvd3" has an incompatible peer dependency to "d3" (requires "^3.4.4", would install "5.9.7").
Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.9.1", would install "0.10.0")
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=3.4 <3.5", would install "3.5.3").
Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.9.1", would install "0.10.0").
Updating package.json with dependency @angular/cli @ "8.1.2" (was "7.2.2")...
Updating package.json with dependency @types/d3 @ "5.7.2" (was "3.5.40")...
Updating package.json with dependency @angular/language-service @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @types/nvd3 @ "1.8.39" (was "1.8.38")...
Updating package.json with dependency codelyzer @ "5.1.0" (was "4.3.0")...
Updating package.json with dependency node-sass @ "4.12.0" (was "4.9.0")...
Updating package.json with dependency @angular/compiler-cli @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @angular-devkit/build-angular @ "0.801.2" (was "0.6.5")...
Updating package.json with dependency stylelint-config-recommended-scss @ "3.3.0" (was "3.2.0")...
Updating package.json with dependency stylelint-config-standard @ "18.3.0" (was "18.2.0")...
Updating package.json with dependency ts-node @ "8.3.0" (was "6.0.5")...
Updating package.json with dependency tslint @ "5.18.0" (was "5.10.0")...
Updating package.json with dependency tslint-angular @ "3.0.2" (was "1.1.2")...
Updating package.json with dependency stylelint-scss @ "3.9.2" (was "3.1.0")...
Updating package.json with dependency stylelint @ "10.1.0" (was "9.2.1")...
Updating package.json with dependency @angular/http @ "7.2.15" (was "7.2.1")...
Updating package.json with dependency @angular/forms @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency core-js @ "3.1.4" (was "2.5.6")...
Updating package.json with dependency tslint-config-airbnb @ "5.11.1" (was "5.9.2")...
Updating package.json with dependency @angular/compiler @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency d3 @ "5.9.7" (was "3.5.17")...
Updating package.json with dependency @types/node @ "12.6.8" (was "10.1.2")...
Updating package.json with dependency @angular/core @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency typescript @ "3.5.3" (was "3.4.5")...
Updating package.json with dependency @angular/platform-browser @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @angular/common @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency rxjs @ "6.5.2" (was "6.3.3")...
Updating package.json with dependency @angular/animations @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency @angular/platform-browser-dynamic @ "8.1.3" (was "7.2.1")...
Updating package.json with dependency zone.js @ "0.10.0" (was "0.8.28")...
Updating package.json with dependency @angular/router @ "8.1.3" (was "7.2.1")...
UPDATE package.json (2254 bytes)
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/1203(node:16290) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning " > @angular/core@8.1.3" has incorrect peer dependency "zone.js@~0.9.1".
warning " > @angular/http@7.2.15" has incorrect peer dependency "@angular/core@7.2.15".
warning " > @angular/http@7.2.15" has incorrect peer dependency "@angular/platform-browser@7.2.15".
warning " > material-angular-select@1.0.0" has incorrect peer dependency "@angular/common@^7.2.0".
warning " > material-angular-select@1.0.0" has incorrect peer dependency "@angular/core@^7.2.0".
With the command: ng update --force
You will see the next output:
We analyzed your package.json, there are some packages to update:
Name Version Command to update
--------------------------------------------------------------------------------
@angular/cli 7.2.2 -> 8.1.2 ng update @angular/cli
@angular/core 7.2.1 -> 8.1.3 ng update @angular/core
@angular/core 7.2.1 -> 7.2.15 ng update @angular/core
rxjs 6.3.3 -> 6.5.2 ng update rxjs
There might be additional packages that are outdated.
Run "ng update --all" to try to update all at the same time.
ERROR in The Angular Compiler requires TypeScript >=3.4.0 and <3.5.0 but 3.5.3 was found instead.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
ℹ 「wdm」: Failed to compile.
Activity
merolhack commentedon Jul 27, 2019
The steps to update the angular version are:
The output of the last command are:
With the command:
ng update --forceYou will see the next output:
Refer to this bug: angular/angular-cli#15134
merolhack commentedon Jul 27, 2019
With the latest commands, if you run:
npm startThe output is:
Then:
npm install typescript@">=3.4.0 <3.5.0" --save-devBut i got a lot of errors, i need to install all again with:
maxwellCatCoder commentedon Jun 25, 2020
Master branch has been updated to version 8.2.14