Puppeteer glibc version
Hi, i'm getting this error when launching the puppeteer chrome
I saw this thread about it and added the nixpacks version in nixpacks.toml but no luck.
Here's my nixpacks.toml
3 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.No project ID was provided. Closing thread.
N/A
Alright I added
nixLibs = []
to [phases.setup]
Now I have another problem upon building the image without doing sudo docker system prune -a -f
before
If I do sudo docker system prune -a -f
and then rebuild it fixes it
So it must be a problem with overlays or something
Also, puppetteer complains because it tries to spawn chrome as root, that isn't supported without --no-sandbox
Alright fixed this first issue by just adding 'node node_modules/puppeteer/install.js'
as a separate cmd in the install phase