javascript - Cannot run globally installed node modules in Windows 7 -


note: have tried similar posts related issue , found nothing helpful me. hence posting this.

issue: i'm trying install http-server package in windows 7 machine using npm install http-server -g, installation fine, when try execute using http-server command in command line i'm getting error saying, 'http-server' not recognized internal or external command, operable program or batch file. have tried same steps gulp , result same.

i have tried setting node path as, set node_path=%appdata%\npm\node_modules; no luck.

can shed light here?

thanks, dave

global packages needs installed using , administration console (cmd / run administrator)


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -