I’m trying to use wasm-imagemagick for some on-the-fly image conversion. It fails to load the wasm however. I’ve tried multiple versions of the library and they all fail to load for different reasons. Version 1.2.7 throws this error:
/rbd/pnpm-volume/fc27b42c-6585-48a4-96bd-c071892a6ed0/node_modules/.registry.npmjs.org/wasm-imagemagick/1.2.7/node_modules/wasm-imagemagick/dist/src/magickApi.js:78
let stacktrace = stacktrace_js_1.default.getSync();
^
TypeError: Cannot read property 'getSync' of undefined
So my question is, does Glitch support wasm in nodejs or is this a problem in the wasm-imagemagick library?