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?
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.
I built my app with the command
love.js -c -s ASSERTIONS=1 game.love web
. Then I opened the fileweb/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?