Will
Will
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
That has done the trick I think! Thank you. However, I'm now faced with another issue. It is a secondary issue, so I can start a new chat if desired. Essentially, our app needs to run Playwright in headful mode (headless:false). To do this I've placed xvfb-run infront of our deploy command as instructed here: https://playwright.dev/docs/ci#running-headed (full command: xvfb-run nx run sillymarch-crawler:serve:production --hostname=0.0.0.0). However, nothing is being shown in our deploy logs and we're getting the 'Application failed to respond' message when navigating to the app.
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
Ok I'm adding the railway.toml file along with the existing nixpacks.toml file, and will report back asap
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
We use codenames in our codebase as opposed to product names to avoid having to change the name if we change the brandname, hence sillymarch
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
Hi Brody, the app is not a crawler in the traditional sense of the word, I just couldn't think of a better name! It's for internal use for our users, as opposed to being a scraper or bot or something similar 😆
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
I also tried to run the install-deps command in a postbuild script in my app's project.json (I am using an NX monorepo), which resulted in a slightly more descriptive error: ln: failed to create symbolic link '/etc/resolv.conf': Device or resource busy Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service → /lib/systemd/system/systemd-pstore.service. systemd-machine-id-setup: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.36' not found (required by /nix/store/9lhvbvvm3s7kv7maak5vm7as6fwjgfa7-util-linux-minimal-2.39.2-lib/lib/libmount.so.1) systemd-machine-id-setup: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libdl.so.2) systemd-machine-id-setup: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libpthread.so.0) dpkg: error processing package systemd (--configure): installed systemd package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: systemd E: Sub-process /usr/bin/dpkg returned an error code (1) Failed to install browser dependencies Error: Installation process exited with code: 100 Warning: run-commands command "npx playwright install-deps" exited with non-zero status code`
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
No description
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
No description
28 replies
RRailway
Created by LoLip_p on 9/22/2023 in #✋|help
I can't load playwright.
I've followed the steps above and I'm getting this error during the playwrightdeps phase: Sub-process /usr/bin/dpkg returned an error code (1) Here is my nixpacks.toml file: [phases.playwright] dependsOn = ['install'] cmds = ['playwright install'] [phases.playwrightdeps] dependsOn = ['playwright'] cmds = ['playwright install-deps']
28 replies
RRailway
Created by Will on 7/15/2023 in #✋|help
Max request timeout?
N/A
6 replies