I\'m fairly new at user local servers. I\'m using the http-server which is a package from Node. I\'m using it to host an HTML5 game using the Phaser library. I have image assets
You can try to use live-server instead. It works for me.
live-server
npm install live-server -g
And you can start it simply by the command live-server.