Ask coding questions

← Back to all posts
Service Workers (For web)
XavierDD (91)

So I made a html, js, css repl and I tried loading Monogatari but I end up getting this.

Service Workers are not available in this browser or have been disabled in the engine configuration. Service Workers are available only when serving your files through a server, once you upload your game this warning will go away. You can also try using a simple server like this one for development: https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb/

REPL

Comments
hotnewtop
mat1 (4400)

Can you please give us a link to your repl? Also can you please provide us with the browser you're using? Thanks

XavierDD (91)

@mat1 I do have a link to the repl? The browser is IOS chrome and it works fine for everything else even ran there demo on my IPad.

There Demo

mat1 (4400)

@XavierDD Sorry, I'm blind xD
ServiceWorkers are still an experimental technology on iOS and are currently only enabled in Safari at the moment. This shouldn't really affect your website functionality, and it's more of a warning rather than an error.

XavierDD (91)

@mat1 Outputs undefined in the console on safari.

XavierDD (91)

I am still lost because shouldn't be running not on my device but a server somewhere else where it could run and serve the files?