Skip to content

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

@Goldenlion5648

Description

@Goldenlion5648

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions