I have installed http-server using the following command:
npm i -g http-server
Upon running the server I get the response saying Running o
Running o
I changed http-server version 0.10.0 to 0.8.5 in the package.json file and it worked for me. I hope this helps someone.