I Keep Getting an Error when I want to launch the HTML version of my game

I will add a screenshot but essentially it's a "Data Manager" error and it doesn't appear when I launch any other game or when I launch the game with the executable

5HR19Eo
My first suggestion is to remove all the spaces from the full path and all file names.
@Markh10156 Are you attempting to load the game into a web browser from the 'index.html' file on your computer? Due to security restrictions within modern browsers you will not be able to run the game in that manner. You would need to be running a web server in order to load the 'index.html' in Firefox, Chrome, and so on. Alternatively you can upload your game to itch.io or another web server you may have access to. If you simply want to play the game, I would suggest deploying to a Windows, Mac, or Linux (whichever operating system you may be using) and running the 'Game' executable.
Networking rules prohibit the use of spaces in filenames. You need to name your files like this: "Village_theme.ogg"
My first suggestion is to remove all the spaces from the full path and all file names.
Oh boy that'll take a while and I'll try it

@Markh10156 Are you attempting to load the game into a web browser from the 'index.html' file on your computer? Due to security restrictions within modern browsers you will not be able to run the game in that manner. You would need to be running a web server in order to load the 'index.html' in Firefox, Chrome, and so on. Alternatively you can upload your game to itch.io or another web server you may have access to. If you simply want to play the game, I would suggest deploying to a Windows, Mac, or Linux (whichever operating system you may be using) and running the 'Game' executable.
Yeah i've been deploying it to test it and stuff like that but I'd like to put a demo on my website and I was just testing it to see if it worked but maybe I'll just put it on my website and see if it works from there
@Markh10156 The game should work within a browser as long as you open it from a web site. If it does not, you can press F12 within the browser, click on the 'Console' tab, and see the error(s) in more detail.
I changed all the names to no spaces and there's still an error which sucks but I guess I'll figure it out osing @Ossra 's method
show us a screenshot of the specific error and maybe we can help.
show us a screenshot of the specific error and maybe we can help.
I'm sorry isn't that what i took the screenshot of or do I need a pic of something else
After changing the file names, did you also change wherever they're used in the game? Otherwise you're going to get more of the same issues.

Is the error you're getting now exactly the same as the one you got before?
After changing the file names, did you also change wherever they're used in the game? Otherwise you're going to get more of the same issues.

Is the error you're getting now exactly the same as the one you got before?

Funnily enough it's exactly the same word for word letter for letter
It can't be giving you the same error if you removed the spaces from the path name. Did you close the game (editor) and reopen it after changing the path name, and did you redeploy?
@Markh10156 Whenever you use Firefox or Chrome to run a game and an error occurs, press F12 and click on the 'Console' tab. Then you can see the exact error messages.

From the error message displayed on the screen, you seem to be using Firefox. If that is correct, once you have pressed F12 and clicked on the 'Console' tab, right-click on the console area (where the error messages are displayed) and select the 'Export Visible Messages To ... ' > 'Clipboard' and then you can easily paste the messages here. I am going to guess that the bulk of them will have something to do with being unable to load the JSON data files, thus causing the game to be unable to run.
Correct me if I'm wrong, but it looks like you have deployed your game into your game's project folder? If so, this is a big no-no and you may have issues opening it in the editor again. You should always deploy to a completely separate location.
I think they created a distribution folder ('Distro') within the 'Games' folder which the game is being deployed to. If that assumption is correct, then it should be alright.
DataManager.checkError@file:///C:/Users/Mark/Documents/Games/AQuestandaHalf/js/rpg_managers.js:172:15
i get this same error when i deploy to web. if i find the issue i'll update this post.

@RicachetX , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


I'm closing this thread.

Original thread: https://forums.rpgmakerweb.com/threads/i-keep-getting-an-error-when-i-want-to-launch-the-html-version-of-my-game.115491/