Ori
Ori
Explore posts from servers
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
Also using this dockerfile:
FROM oven/bun:latest

RUN apt-get update && \
apt-get install -y libfontconfig1 libfontconfig1-dev

WORKDIR /app

COPY package.json bun.lockb biome.jsonc tsconfig.json ./
COPY src ./src
COPY scripts ./scripts

RUN bun install

CMD ["bun", "run", "start"]
FROM oven/bun:latest

RUN apt-get update && \
apt-get install -y libfontconfig1 libfontconfig1-dev

WORKDIR /app

COPY package.json bun.lockb biome.jsonc tsconfig.json ./
COPY src ./src
COPY scripts ./scripts

RUN bun install

CMD ["bun", "run", "start"]
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
Thanks for helping 👍
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
Now no errors
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
I ended up bumping the library I use captcha-canvas to v3 so it uses skia-canvas instead
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
node-canvas is a mess
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
I tried my binary on Mac, linux and windows and in all scenarios it worked
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
The build step works: it creates a binding for cario. Then when it is called, and only in railway, it crashes
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
I don't control the build step of node-canvas...
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
It uses a compiled .node file so the error may go un noticed during build
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
No, runtime
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
Also I looked at every post on google and tried everything
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
I tested this on 3 machines and it doesn't work on railway so
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
And this now:
TypeError: /tmp/.7feefcbdbf4e4fbf-00000000.node: undefined symbol: _ZNK2v85Value8ToUint32ENS_5LocalINS_7ContextEEE
TypeError: /tmp/.7feefcbdbf4e4fbf-00000000.node: undefined symbol: _ZNK2v85Value8ToUint32ENS_5LocalINS_7ContextEEE
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
Fixed it, but now getting an error:
./dist/ceramique: symbol lookup error: /tmp/.17feeefffeffffcb-00000000.node: undefined symbol: _ZN2v816FunctionTemplate16InstanceTemplateEv

error: script "start" exited with code 127
./dist/ceramique: symbol lookup error: /tmp/.17feeefffeffffcb-00000000.node: undefined symbol: _ZN2v816FunctionTemplate16InstanceTemplateEv

error: script "start" exited with code 127
26 replies
RRailway
Created by Ori on 8/24/2024 in #✋|help
Bun project with node-canvas not working
e6306992-6a17-4995-84ea-cdbde3b351a7
26 replies
RRailway
Created by Ori on 2/23/2024 in #✋|help
Unami template doesn’t work with a custom domain
You can simply see by inputting a wrong password and username
24 replies
RRailway
Created by Ori on 2/23/2024 in #✋|help
Unami template doesn’t work with a custom domain
24 replies
RRailway
Created by Ori on 2/23/2024 in #✋|help
Unami template doesn’t work with a custom domain
So it’s not a cache or client issue
24 replies
RRailway
Created by Ori on 2/23/2024 in #✋|help
Unami template doesn’t work with a custom domain
I have now tested on my phone and I encounter the same problem
24 replies
RRailway
Created by Ori on 2/23/2024 in #✋|help
Unami template doesn’t work with a custom domain
Yes
24 replies