Error after installing puppeteer-core. libuuid.so.1
After installing puppeteer core and deploying my application, my app crashed with this error:
This issue appeared after I installed
puppeteer-core
.
I've read all similar issues on discord and github looking for a solution, but I found nothing.22 Replies
Project ID:
045e21af-ff58-4d2c-a95a-4147dea211c9
045e21af-ff58-4d2c-a95a-4147dea211c9
My package.json
puppeteer-core does not install chrome
I know that. I'm using a headless browser instead. That doesn't explain why I'm getting this error though
add this to a
nixpacks.toml
file in your project folder
I added this line to my env NIXPACKS_APT_PKGS=...,libuuid1
But the issue still persists
I removed the comma in my variable, and now it's giving a different error
that is not what i told you to do
I don't have a nixpacks.toml file. I'll have to redo my setup with it. Will update once I do then
bruh
make a nixpacks.toml file and put only that in it
Gotcha. Will do now
then show me a screenshot of the contents of the nixpacks.toml file
I'm working in a monorepo. Shall I add it to the root of the file or my package?
add it to whatever service needs it
...whatever service needs libuuid1
I've added it. It didn't fix it
^
have you removed
NIXPACKS_APT_PKGS
from your service variablesWhoops 🤦
Rebuilding now
Still rebuilding, but I noticed this log.
Still broken.
dont know, but im willing to debug it on my own further if you can get me a minimal reproducible example that will throw that error
Will share one in a few hours.
okay then ill look in the morning (2:40am here)
Removing puppeteer-core fixes the issue. I still need it though
Playwright works. I'll just use this instead.