-3

When I do ng build --prod --aot, I get something like:

Your global Angular CLI version (8.3.19) is greater than your local version (8.3.2). The local Angular CLI version is used.

I resolved the above warning. But, I want to know what is global angular CLI actually is and what is local angular CLI? I've searched it. But, couldn't make myself clear.

Eranki
  • 750
  • 1
  • 11
  • 30
  • No, I resolved my issue. But, my question is what actually is global and local cli? Is it my projects cli version and my systems cli version? – Eranki Feb 14 '20 at 08:17
  • It is explained in the accepted answer of the thread: https://stackoverflow.com/a/44526528/1331040 – Harun Yilmaz Feb 14 '20 at 08:18
  • Ya, I've gone through it. Is he telling that the global angular cli is current angular cli version? – Eranki Feb 14 '20 at 08:23
  • You have system modules and project modules. These differ. – Carsten Feb 14 '20 at 08:24
  • @HarunYilmaz I've not found my answer there. He answered for the question if both version are required or not and if two versions should by in sync. – Eranki Feb 14 '20 at 08:34

1 Answers1

3

Your global angular version is that of the version you've installed systemwide with the -g flag. Your local angular version is the one you've installed inside your project folder.

Maartenw
  • 595
  • 1
  • 5
  • 19