It's requesting version 2.3.1 of @angular/compiler-cli and refusing version 5.2.11
Your global Angular CLI version (1.7.1) is greater than your local
version (1.0.4). The local Angular CLI version is used.
To disable this warning use "ng set --global warnings.versionMismatch=false".
Version of @angular/compiler-cli needs to be 2.3.1 or greater. Current version is "5.2.11".
Same issue here. Were you able to solve it?
Same issue here. I upgraded my local @angular/cli version from 1.0.4 to 1.7.4 and that fixed the problem for me.
Simply upgrade your @angular/cli from version 1.0.4 to 1.7.1 by running on your project.
Though I would suggest you run this command below. this makes sure that @angular/cli is installed globally on your system and not just on your project. Run this very command using Command prompt:
npm i -g @angular/cli
This will install the latest version of @angular/cli.
Also run the command below so that you will be using the npm which matches the @angular/cli:
npm i