Open jordan-loeser opened 1 year ago
I'm not really sure on this one. Some quick Google suggests it may be related to using Webpack 5 if you are? A possible work-around could be symlinking libwebp.wasm to that path. Apologies that I couldn't be more help.
Thanks for taking a look @ApeironTsuka! No luck on this yet on my end, but it looks like this is triggered when I call the static WebP.Image.initLib()
.
It feels like this must be something to do with what's happening here 🤔 https://github.com/ApeironTsuka/node-webpmux/blob/b438517c9042a11e6870a4cba4c554f413aee64f/webp.js#L361-L368
It looks like this might be a known issue with NextJS: https://github.com/JamieMason/blurhash-to-css/issues/1
Hey there,
I'm getting the following
RuntimeError
when trying to migrate this library to be run in a NextJS API route, and I'm hoping someone here might be able to help. I'm using the same exact code as I had previously functioning in NodeJS, and using thenodejs
runtime in NextJS. It looks like something is getting messed up with the import path forlibwebp.wasm
.I'm hoping someone may be able to help me get to the bottom of this. Here is the error:
For context, I am using the following on a Mac running Apple Silicon.
node-webpmux
:^3.1.8
13.4.19
^5.2.2
v18.16.1