I am trying to install the http-server, bower, grunt in my windows machine. I tried to install using npm install the install is successful but when, i try to run the command it is saying command not found. I tried closing the command prompt and execute again. Same result. The file are available in appdata folders.
C:\Users\testuser>npm install http-server
+ http-server@0.11.1
updated 1 package in 5.713s
C:\Users\testuser>http-server
'http-server' is not recognized as an internal or external command,
operable program or batch file.
I tried listing the services and the service is installed
C:\Users\testuser>npm list -g --depth=0
C:\Users\testuser\AppData\Roaming\npm
+-- bower@1.8.4
+-- http-server@0.11.1
`-- json-server@0.12.1
I tried searching for similar issues, but could not find the same.