ng --version
Program 'ng' failed to run: No application is associated with the specified file for this operation At line:1 char:1
+ ng --version
+ ~~~~~~~~~~~~.
At line:1 char:1
+ ng --version
+ ~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
I tried to install angular by running 'npm install -g @angular/cli'
command. It installed properly but when I run ng command, it shows the above error.