Open emirsassan opened 7 months ago
Facing the same issue using Docker.
FROM oven/bun:latest
RUN apt-get update
RUN apt-get install -y -q --no-install-recommends libfontconfig1
RUN bun install skia-canvas
...
Getting the following error
error: Cannot find module "./v6" from "/app/node_modules/skia-canvas/lib/index.js"
I suspect it has something to do with the install flows that skia-canvas expects here: https://github.com/samizdatco/skia-canvas/blob/main/package.json#L21-L22
Is there an update here?
I have the same problem on an Ubuntu 20.04 with NGINX 1.18.0.
But...
On my local MacBook installation it runs without any problems.
I am at a loss 🤷♂️ Maybe the info that it runs on one system and not the other will help someone.
No update on my side, it still has the same problem, probably a problem with skia-canvas
.
No update on my side, it still has the same problem, probably a problem with
skia-canvas
.
Thank you for your update. I have swapped skia for @napi-rs/canvas. That seems to work for now.
What version of Bun is running?
1.1.0+5903a6141
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
or anything that uses skia-canvas for mine thats the thing
What is the expected behavior?
load command and send a image rendered with skia-canvas to channel but bot ignores command since skia-canvas throws an error
What do you see instead?
Additional information
No response