Failed to launch browser process
Im using puppeteer to generate pdf out of html files:
Error: Failed to launch the browser process!
[0714/143629.108315:ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
TROUBLESHOOTING: https://pptr.dev/troubleshooting
but this is my error message. Is there a way to do it on railway?
Troubleshooting | Puppeteer
Chromium currently does not provide arm64 binaries for Linux. There are only
9 Replies
Project ID:
e15ea8ad-7e02-4156-838c-aadbd81725ad
e15ea8ad-7e02-4156-838c-aadbd81725ad
you would need to launch chrome with some specific flags, you can do that like so
works! But hwo can i use a volume for my node app now? im saving files inside ./temp
volumes are a beta feature, so just type forward slash beta to get access to that
😦
why the sad face?
beta features in prod is never a good idea
who said you had to run it in production?
and depending on chrome in production is far worse