HipsterSavage
HipsterSavage
Explore posts from servers
RRailway
Created by HipsterSavage on 8/1/2023 in #✋|help
Fontconfig Error on Railway Deployment
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
Project id: 3b6de31e-33a5-41ab-8405-07383c546f7b/service/a04e5aab-0452-4be2-b078-3e2d1e5a1503
Platform: Node.js v18.12.1
Used technologies: Nest.js / NPM
Repo: https://github.com/dudematthew/pla-manager/tree/production
Package.json: https://github.com/dudematthew/pla-manager/blob/production/package.json
Already tried: Changing package.json to use Node v16.x; Adding shell.nix file with needed library;
Project id: 3b6de31e-33a5-41ab-8405-07383c546f7b/service/a04e5aab-0452-4be2-b078-3e2d1e5a1503
Platform: Node.js v18.12.1
Used technologies: Nest.js / NPM
Repo: https://github.com/dudematthew/pla-manager/tree/production
Package.json: https://github.com/dudematthew/pla-manager/blob/production/package.json
Already tried: Changing package.json to use Node v16.x; Adding shell.nix file with needed library;
Problem while trying to use ChartJS My project was building perfectly until I tried to add ChartJS into it. Despite it working fully on my local PC, there is a problem with building it on Railway (probably because of nixpacks).
Stack Trace:
...
[Nest] 32 - 08/01/2023, 2:01:03 PM ERROR [ExceptionHandler] libuuid.so.1: cannot open shared object file: No such file or directory
Error: libuuid.so.1: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1239:18)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/app/backend/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Stack Trace:
...
[Nest] 32 - 08/01/2023, 2:01:03 PM ERROR [ExceptionHandler] libuuid.so.1: cannot open shared object file: No such file or directory
Error: libuuid.so.1: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1239:18)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/app/backend/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
I tried asking Phind and researched other sources like using shell.nix to include proper libraries but seems like my understandning of that mechanism is not enough to handle it. I need help. Anyone knows what difference Nixpacks make that make the problem occure? What should I do?
14 replies