HipsterSavage
Explore posts from serversRRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
Thank You @Vin
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
Solved
Dockerfile worked. Here's its code:
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
of course, thank You
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
Could I just remove the port line?
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
Here's my
Dockerfile
placed in the main folder of the app. Is it configured properly for Railway standards?
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
I understand for now. Will try my luck with the Dockerfile then, thank You!
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
Also what about default Railway procedures, will my Dockerfile replace them?
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
Will Railway options be ignored then?
16 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
libuuid.so.1: cannot open shared object file: No such file or directory
still 5$ free tho
14 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
libuuid.so.1: cannot open shared object file: No such file or directory
@strooss you had a problem with that
14 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
libuuid.so.1: cannot open shared object file: No such file or directory
Solved
After adding
to
package.json
in main folder of the project despite it doing nothing in particular, Railway recongized the package and made libuuid and libGL available in the environment.
Be aware
node-canvas
is not an actual name of the package. It should be canvas
as stated in the docs.
https://www.npmjs.com/package/canvas
Despite that fact I added manually node-canvas
to the optional dependencies and it worked so I left it like that. If you try this solution, be sure to check if npm i canvas
won't be enough and feel free to post info about it here.
Note that optional dependencies don't need to really be succesfully installed, because npm ignores its instalation errors.14 replies
RRailway
•Created by HipsterSavage on 8/1/2023 in #✋|help
libuuid.so.1: cannot open shared object file: No such file or directory
Ok, found this mention in the nixpacks.docs:
(https://nixpacks.com/docs/providers/node)
Seems like since my project uses node canvas and not canvas it might be the case of why proper libraries are not added.
Gonna try this at home.
14 replies