Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium install bar breaking in CI github workflow #28517

Closed
albizeqollari opened this issue Dec 6, 2023 · 2 comments
Closed

Chromium install bar breaking in CI github workflow #28517

albizeqollari opened this issue Dec 6, 2023 · 2 comments

Comments

@albizeqollari
Copy link

albizeqollari commented Dec 6, 2023

I use this command in github workflow CI :RUN dotnet PlaywrightInstaller.dll
And i get this error
Any idea?

It downloads the chromium then when the progress bar shows it fails

#18 28.41 /src/PlaywrightInstaller/linux/.playwright/package/lib/server/registry/oopDownloadMain.js:101
#18 28.41 console.log(|${'■'.repeat(row * stepWidth)}${' '.repeat((totalRows - row) * stepWidth)}| ${percentageString}% of ${toMegabytes(totalBytes)});
#18 28.41 ^
#18 28.41
#18 28.41 RangeError: Invalid count value
#18 28.41 at String.repeat ()
#18 28.41 at /src/PlaywrightInstaller/linux/.playwright/package/lib/server/registry/oopDownloadMain.js:101:27
#18 28.41 at IncomingMessage.onData (/src/PlaywrightInstaller/linux/.playwright/package/lib/server/registry/oopDownloadMain.js:65:5)
#18 28.41 at IncomingMessage.emit (node:events:525:35)
#18 28.41 at Readable.read (node:internal/streams/readable:539:10)
#18 28.41 at flow (node:internal/streams/readable:1023:34)
#18 28.41 at resume_ (node:internal/streams/readable:1004:3)
#18 28.41 at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

@albizeqollari albizeqollari changed the title Chromium install bar breaking in CI gihub workflow Chromium install bar breaking in CI github workflow Dec 6, 2023
@mxschmitt
Copy link
Member

Could you try setting the DEBUG=pw:install env var while you run dotnet PlaywrightInstaller.dll?

This should yield more output to understand why this happens.

@albizeqollari
Copy link
Author

Thanks! Now i have a clear understanding of what is happening

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants