Open pureliumy opened 3 months ago
I tried using a custom build wasmoon dist/index.js
and glue.wasm
, this error disappeared, but there was a new error when executed await factory.createEngine()
- e is not a function
.
I have no idea with what e
is as the code was minified.
Problem Failed to initialize LuaFactory in Vercel with custom wasm file path.
Demo code
Error output
Remarks I don't know whether it is related to the file import method or not, but I have tried many ways, only the above way worked in Vercel production environment.