nim_emscripten_tutorial
nim_emscripten_tutorial copied to clipboard
step1 shows in console on chrome Uncaught ReferenceError: SharedArrayBuffer is not defined
after running
nim c -d:emscripten .\step1.nim
This error shows in the chrome console
Uncaught ReferenceError: SharedArrayBuffer is not defined
at step1.js:489:40
step1.html:40 [post-exception status] Exception thrown, see JavaScript console
printErr @ step1.html:40
step1.html:88 Uncaught TypeError: Module.setCanvasSize is not a function
at window.onresize (step1.html:88:16)
sounds like its related to this https://stackoverflow.com/questions/64650119/react-error-sharedarraybuffer-is-not-defined-in-firefox