Saturday, March 21, 2020

'ng' is not recognized as an internal or external command.



Error Blog 

Hi Guys ,
This blog is about the error   Error: 'ng' is not recognized as an internal or external command.

Problem Statement

unable to run an angular app via ng serve .


Error Details 

error Log

ERROR DETAILS 
 'ng' is not recognized as an internal or external command,
operable program or batch file 



Error Code 

Please check the path 

  
   
ng serve 
         

Solution

set path for npm 

Code Changes 

set path in command prompt

  
          set path=%path%;c:\users\me\AppData\Roaming\npm;
         
OUTPUT




Thanks for reading . Let me know your thoughts in the comments below    .

No comments:

Post a Comment

ec2-user@ec2 Permission denied