So after some research, I realized that I need to launch the project in the browser explicitly using the emrun
command. I was simply opening the html
file with Chrome, which was causing the error.
↧
Trouble with projects compile with Emscripten on OS X with Chrome
↧