nim_emscripten_tutorial icon indicating copy to clipboard operation
nim_emscripten_tutorial copied to clipboard

step1 shows in console on chrome Uncaught ReferenceError: SharedArrayBuffer is not defined

Open Goldenlion5648 opened this issue 1 year ago • 0 comments

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

Goldenlion5648 avatar Feb 29 '24 17:02 Goldenlion5648