Discord
Login
Community
DARK THEME

Exporting to HTML 5 Leads to Errors

Hello all,

I exported my microstudio game(which is pretty large now) to HTML5, however, when I run the index.html file in my browser, my game does not load and I get errors in the console. The weird thing is that I have exported my game to HTML5 multiple times which worked, but this time it does not. The errors are shown below.

Failed to load resource: net::ERR_FILE_NOT_FOUND parser.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

processor.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

program.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

routine.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

runner.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

token.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

tokenizer.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

transpiler.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

microengine.js:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

index.html:49 Uncaught ReferenceError: Player is not defined at index.html:49:23 icon64.png:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

icon32.png:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

icon16.png:1

    Failed to load resource: net::ERR_FILE_NOT_FOUND

index.html:1 Access to internal resource at 'file:///C:/Users/haroon.mishal/AppData/Local/Temp/5eed6870-d5eb-4a91-a625-d75955dc7f3c_planetbelobog35345.zip.f3c/manifest.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome-untrusted, https, edge.

Sorry Guys, I got it to work by uploading the file to a web server. I used Cloudflare and uploaded a worker/page(I don't know if there is a difference).

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community