TannerRogalsky / love.js

LÖVE ported to the web using Emscripten
MIT License
491 stars 52 forks source link

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

Open DemonExposer opened 4 years ago

DemonExposer commented 4 years ago

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

zorfmorf commented 4 years ago

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