aravindrajme
aravindrajme
CDCloudflare Developers
Created by aravindrajme on 12/1/2024 in #general-help
Domain registration keeps failing.
I'm trying to get a domain registered on Cloudflare. But I keep getting an error that "We're sorry, something went wrong with that." every time. I've tried different cards, PayPal, and a different browser. I found what fails: The final payment API call to Cloudflare. I could register the domain from another provider, but I'm specifically trying to get it from Cloudflare. I'm planning to do almost everything (or at least whatever I can) with Cloudflare. P.S.: I've also raised a ticket with Cloudflare. I'm posting here hoping to get a quicker response. Sorry if this isn't allowed. I'm only on the free plan, btw.
6 replies
CDCloudflare Developers
Created by aravindrajme on 11/27/2024 in #pages-help
Pages build failing because Puppeteer won't launch.
I'm trying to inline Critical CSS on my page to get that perfect 100 score [Performance] in Lighthouse. I'm using Astro for my site, and the integration astro-critical-css helps in doing that. Since it uses Puppeteer under the hood to do it, I'm getting this error on deployment:
14:58:27.632 Error: Failed to launch the browser process!
14:58:27.632 /opt/buildhome/repo/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
14:58:27.632
14:58:27.633
14:58:27.633 TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
14:58:27.633
14:58:27.633 at onClose (/opt/buildhome/repo/node_modules/puppeteer/lib/Launcher.js:750:14)
14:58:27.633 at Interface.<anonymous> (/opt/buildhome/repo/node_modules/puppeteer/lib/Launcher.js:739:50)
14:58:27.633 at Interface.emit (node:events:526:35)
14:58:27.633 at Interface.close (node:internal/readline/interface:533:10)
14:58:27.633 at Socket.onend (node:internal/readline/interface:259:10)
14:58:27.633 at Socket.emit (node:events:526:35)
14:58:27.633 at endReadableNT (node:internal/streams/readable:1359:12)
14:58:27.633 at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
14:58:27.634
14:58:27.634 Node.js v18.17.1
14:58:27.652 Failed: Error while executing user command. Exited with error code: 1
14:58:27.660 Failed: build command exited with code: 1
14:58:28.418 Failed: error occurred while running build command
14:58:27.632 Error: Failed to launch the browser process!
14:58:27.632 /opt/buildhome/repo/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
14:58:27.632
14:58:27.633
14:58:27.633 TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
14:58:27.633
14:58:27.633 at onClose (/opt/buildhome/repo/node_modules/puppeteer/lib/Launcher.js:750:14)
14:58:27.633 at Interface.<anonymous> (/opt/buildhome/repo/node_modules/puppeteer/lib/Launcher.js:739:50)
14:58:27.633 at Interface.emit (node:events:526:35)
14:58:27.633 at Interface.close (node:internal/readline/interface:533:10)
14:58:27.633 at Socket.onend (node:internal/readline/interface:259:10)
14:58:27.633 at Socket.emit (node:events:526:35)
14:58:27.633 at endReadableNT (node:internal/streams/readable:1359:12)
14:58:27.633 at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
14:58:27.634
14:58:27.634 Node.js v18.17.1
14:58:27.652 Failed: Error while executing user command. Exited with error code: 1
14:58:27.660 Failed: build command exited with code: 1
14:58:28.418 Failed: error occurred while running build command
Any idea how to fix it? It didn't work on my Mac locally either. I had to install Rosetta and then it worked.
6 replies