You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running the SvelteKit CI workflow, the Playwright setup step is failing due to missing dependencies required for running browsers on the host system. The CI job successfully downloads Chromium, FFMPEG, Firefox, and WebKit, but the following warning is displayed:
Host system is missing dependencies to run browsers.
Please install them with the following command:
sudo pnpm exec playwright install-deps
Alternatively, use apt:
sudo apt-get install libwoff1\
libvpx9\
libevent-2.1-7t64\
libopus0\
libgstreamer-plugins-base1.0-0\
libgstreamer-gl1.0-0\
libgstreamer-plugins-bad1.0-0\
libharfbuzz-icu0\
libsecret-1-0\
libhyphen0\
libmanette-0.2-0\
libflite1\
libgles2\
gstreamer1.0-libav
The issue arises when running the Playwright installation command during the CI process:
pnpm exec playwright install
This step results in a warning due to the missing system dependencies required for browser execution on Ubuntu.
Expected Behavior:
Playwright should install the necessary dependencies for running browsers during the setup process in the CI workflow.
Actual Behavior:
The CI job fails with a warning regarding missing system libraries that Playwright requires to run the downloaded browsers.
Suggested Fix:
To resolve this issue, we need to add the missing dependencies installation step in the workflow YAML file prior to running the Playwright installation step.
Current Behavior
While running the SvelteKit CI workflow, the Playwright setup step is failing due to missing dependencies required for running browsers on the host system. The CI job successfully downloads Chromium, FFMPEG, Firefox, and WebKit, but the following warning is displayed:
The issue arises when running the Playwright installation command during the CI process:
pnpm exec playwright install
This step results in a warning due to the missing system dependencies required for browser execution on Ubuntu.
Expected Behavior:
Playwright should install the necessary dependencies for running browsers during the setup process in the CI workflow.
Actual Behavior:
The CI job fails with a warning regarding missing system libraries that Playwright requires to run the downloaded browsers.
Suggested Fix:
To resolve this issue, we need to add the missing dependencies installation step in the workflow YAML file prior to running the Playwright installation step.
Proposed Workflow YAML Update:
This ensures that the required system dependencies are installed before attempting to install and use Playwright browsers.
Environment:
ubuntu-latest
)Let me know if you need any adjustments or further details for this issue!
Reproduction / Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: