You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to the use example code, compiled from source and when it runs preInit it gets the error "TypeError: emscrModule.TTY is undefined main-worker.js:47:12"
I checked and I am running the latest version of emscripten 3.1.58, building this on a Mac.
From searching around it seems like its an odd error, I searched around for others having issues with TTY and did not come up with anything. I tried both homebrew and build from source for emscripten as well.
Any help appreciated!
The text was updated successfully, but these errors were encountered:
Hey there,
When attempting to the use example code, compiled from source and when it runs preInit it gets the error "TypeError: emscrModule.TTY is undefined main-worker.js:47:12"
I checked and I am running the latest version of emscripten 3.1.58, building this on a Mac.
preInit: [() => {
emscrModule.TTY.register(emscrModule.FS.makedev(5, 0), {
get_char: tty => stdin(tty),
put_char: (tty, val) => { tty.output.push(val); stdout(val); },
flush: tty => tty.output = [],
fsync: tty => console.log("fsynced stdout (EmscriptenRunnable does nothing in this case)")
});
From searching around it seems like its an odd error, I searched around for others having issues with TTY and did not come up with anything. I tried both homebrew and build from source for emscripten as well.
Any help appreciated!
The text was updated successfully, but these errors were encountered: