love.js icon indicating copy to clipboard operation
love.js copied to clipboard

Assertion failed: cannot call main when async dependencies remain! (listen on __ATMAIN__)

Open DemonExposer opened this issue 5 years ago • 1 comments

Assertion failed: cannot call main when async dependencies remain! (listen on ATMAIN) This error is given twice. Next to the "powered by emscripten" logo, it still says "Syncing filesystem..."

This is all that happens. There is no game to be played

DemonExposer avatar Oct 23 '19 16:10 DemonExposer

This happens when you just open the .html file instead of serving it through a local webserver as described in the example on the github page. Reason is, that recent browser versions block locally opened html files from accessing other local files (in this case the .js files). Try the local python server as described in the example

zorfmorf avatar Oct 29 '19 04:10 zorfmorf