When i tried to create component using ng command with angular cli at that time i am getting this error.
Error: ng is not installed, but available in package nailgun, press [Enter] to run it, Ctrl+C to cancel.
Screenshot:
When i tried to create component using ng command with angular cli at that time i am getting this error.
Error: ng is not installed, but available in package nailgun, press [Enter] to run it, Ctrl+C to cancel.
Screenshot:
That is because ng
is not installed as system-wide, but as development dependency in package.json. So, you should run it from your project folder which it’s learn-ngrx/
instead of learn-ngrx/src
.
Okay, Thank You @alice