Attempting to use skia-canvas

Hi, I’m attempting to use skia-canvas to do some image building in a JS background function and skia-canvas is throwing an error about not being able to find fontconfig: “ cannot open shared object file: No such file or directory”.

I’ve tried installing fontconfig before building, apt-get didn’t work, but brew did. I also tried adding both skia-canvas and to the list of external_node_modules in netlify.toml. but that did not solve my problem.

Does anybody have any ideas around what it could be? I know that there are some solutions with other canvas packages so I may have to switch, but would rather not if possible.