oswalter
apt install
Hello guys, i need some help with my railway app. im using a npm package (puppeteer) that requires libuuid to run, but on the railway server it is not installed.
Things i have tried:
-> using the dockerfile but it fail
-> adding Variable NIXPACKS_APT_PKGS=libuuid1
The error started when i add puppeteer into my project, before it was normal.
Log:
tsc && node dist/src/index.jsnode:internal/modules/cjs/loader:1239 return process.dlopen(module, path.toNamespacedPath(filename)); ^ 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/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) { code: 'ERR_DLOPEN_FAILED' }
12 replies