Failed to launch browser process
I've gotten this error, but only when hosting it. Running the command locally works perfectly fine. Any tips minus reading their github?
7 Replies
Project ID:
N/A
It could be due to running as root without the --no-sandbox option, or it could be due to not being able to move to a new namespace. Troubleshooting can be found at https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md.
⚠️ experimental feature
Idk what to even change. All my code works locally so I'm assuming it's the node modules within the host as I'm not uploading them.
you should never need to upload the node_modules
but this can easily be fixed by adding the --no-sandbox argument like the error suggests
Where would I be adding this to? Since it's not local I can't control what node_modules Railway uses. Or can I?
I tried adding it to my ready file (launches this file when we first kick the bot online) and it comes with an error stating "install" wasn't defined. Then it's just a rabbit hole.
read their github?
I'm on v16, so this doesn't apply even tho it's the same error.
Th rest of the Git is useless to me