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' }
9 Replies
Project ID:
58290ab8-1510-4b63-8ae6-db2a152d2e60
58290ab8-1510-4b63-8ae6-db2a152d2e60
can I ask what you are doing with puppeteer?
of course! i study on an universty, we have something called "correio elegante", its like you send an anonimus love letter, it pass throw an staff to see if it is safe to be published, then we manualy publish in twitter and instagram, im trying to automate this process using puppeteer.
Twitter i used its developer api, but instagram (facebook/meta) has many limitations to acess it api. i found some instagram scrappers on the npm modules but it caused many disconects and redflag to change our passord so i criated my own scrapper to publish photos
I'm sorry but using web automation to control sites like Instagram or Twitter is a big no on railway
and also a big no from them too
realy? ok
I would love to help you, but unfortunately I can't help you if what you're doing breaks both railways tos and the sites you mentioneds tos
thanks for the warning
sorry for the less than ideal news