Publishing to Web Browser

Can anyone give me a proper rundown on how this works? I assumed by clicking the index.html in the project folder it would play my game in a browser. It appears to attempt to do so but I always get "Error Failed to load: data/Actors.json". Any help would be much appreciated!
I'm not in any way an expert on this but have you tried multiple times? I sometimes get errors when using this as html but when I refreshed or I guess you can close and open the index html file then you can run it again and maybe it will work?

I wish these errors didn't keep happening. I need to publish this one day.
Pretty sure that you need to set up a server for your project first. If you just double-click the index.html file your browser will open it with a file protocol, but that doesn't help your browser get at the data files (of which actors.json is the first). You can set up a local server for testing by following the directions in the RPG Maker MV Help document under the Local Server Setup heading.
I did not notice that in the help file. I was just looking at the output formats. Thank you JumbocactuarX27 I'll check it out tomorrow and see if I can get it to work.

Original thread: https://forums.rpgmakerweb.com/threads/publishing-to-web-browser.47107/