3
votes

I cannot disable this warning in Visual studio code

Your global Angular CLI version (6.0.7) is greater than your local version (1.7.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false"

whenever I type this "ng config", it returns this error

The specified command config is invalid. For available options, see ng help.

please help thanks.

1
type ng config -g cli.warnings.versionMismatch false in command line. - Fateme Fazli
May I ask, why you want to disable the warning? - schlonzo
well, it shows up every time I do something on angular CLI in which it takes up a lot of space. @schlonzo - gladysobmerga
Ah OK, I understand - schlonzo
@fatemefazli it not working. see this sc screencast.com/t/EgPUINoPK - gladysobmerga

1 Answers

0
votes

First update your local angular version using following command.

npm update

then it will start working. if it doesn't work let me know.