Davidobot / love.js

LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.5)
MIT License
605 stars 27 forks source link

"both async and sync fetching of the wasm failed" #79

Closed mvolkmann closed 1 year ago

mvolkmann commented 1 year ago

I built my app with the command love.js -c -s ASSERTIONS=1 game.love web. Then I opened the file web/index.html in Chrome. The error message in the subject appears in the DevTools console. Do I need something different in the build command or additional steps?

mvolkmann commented 1 year ago

This happened because I was directly opening the index.html file from the browser instead of starting a local HTTP server and browsing something like localhost:8000.