1) Right-click on my computer (windows) 2) Selected additional system parameters 3) Clicked "Environment Variables" 4) The "Path" variable indicates the first value in the list% AppData% \ npm
Initially : C: \ Program Files \ Microsoft MPI \ Bin \;% SystemRoot% \ system32;% SystemRoot%;% SystemRoot% \ System32 \ Wbem;% SYSTEMROOT% \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files \ TortoiseSVN \ Bin;
After adding the path : C: \ Program Files \ Microsoft MPI \ Bin \; % AppData% \ npm; % SystemRoot% \ system32;% SystemRoot%;% SystemRoot% \ System32 \ Wbem;% SYSTEMROOT% \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files \ TortoiseSVN \ bin;
One more thing you can try if the error still appears, as shown below 1) go to the project location via the command line: C: \ Users \ brijeshray \ ParentChild> 2) Reinstall or update the existing angular as: npm install -g @ angular / cli @latest
3) Go to your computer or PC -> Properties β Advanced system settings β Environment variable β add the path below the βUser variableβ (if the βPathβ is missing) ==> C: \ Users \ brijeshray \ AppData \ Roaming \ npm β save him and restart the visual code 
source share