Installing apt packages for puppeteer
Hi, im trying to run puppeteer on Railway but am getting an error that it cant find some packages. I had the same issue when selfhosting and fixed it by apt installing some stuff. How can i do this on Railway?
8 Replies
Project ID:
N/A
n/a
Nixpacks has ton of additional packages that you can provide to your build through a
nixpacks.toml
file in the root of your service dir
for example:
just put your aptPkgs there and try building itThanks!
you can search for the package in https://search.nixos.org/packages
if it exists/is supported
and you can read more about nixpacks config at https://docs.railway.app/deploy/config-as-code
may I ask what you are doing with puppeteer?
i was using it for a whatsapp bot but saw it wasnt allowed, im now rebuilding my bot into a mobile app 😛
hey good on you! I wish you luck with that!