angular-material-dashboard icon indicating copy to clipboard operation
angular-material-dashboard copied to clipboard

It's requesting version 2.3.1 of @angular/compiler-cli and refusing version 5.2.11

Open A-lee-201 opened this issue 7 years ago • 3 comments

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".

A-lee-201 avatar Jun 22 '18 08:06 A-lee-201

Same issue here. Were you able to solve it?

JuanAzar avatar Aug 14 '18 19:08 JuanAzar

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.

doutzi avatar Aug 23 '18 10:08 doutzi

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

andrejonn31 avatar Jun 23 '21 13:06 andrejonn31