patriksimek / vm2

Advanced vm/sandbox for Node.js
MIT License
3.86k stars 294 forks source link

WASM (WebAssembly) support with internal FS operations #462

Closed zavalyshyn closed 1 year ago

zavalyshyn commented 2 years ago

Hi,

First of all, thanks for creating vm2 and making it available to people like me. I'm currently working on a second project where it will be used.

I have a question rather than an issue per se. I'm trying to run a code that requires a wasm file (an opencv.js + opencv.wasm). After compiling a wasm binary I'm loading images and several models into internal WASM file system using FS_createDataFile() method. But it seems to get stuck there in an endless loop without throwing any error.

What is current vm2's support of wasm and internal file systems?

XmiliaH commented 1 year ago

There is currently no support for wasm and internal file systems.