Friday, 17 March 2017

"gulp -v" command not working

I am working on Windows 7. I have installed node and have been working with node and tsc for a while now with out issues.

the c:\users\username\appdata\roaming\npm path is already set in my environment variable and the command "node" works from any folder location in the command prompt with out issues.

I installed gulp using the following command "npm install -g gulp"

and the installation was successful.

But when I run "gulp -v" command from the appData folder its working fine as follows

Running gulp from AppData folder

And when I run outside the AppData folder it is throwing errors as illustrated in the following screenshot :(

Error

I have searched the forum for answers but did not get any. Am having a hard time figuring this out.Please help me with this.



via kathikeyan A

No comments:

Post a Comment