← Back to Discord Forum

"npx playwright install" timing out in CircleCI

Logan (Apryse)posted in #help-playwright
Open in Discord
Logan (Apryse)


Yesterday, our CircleCI pipelines started failing randomly. We are running npx playwright install --with-deps chromium as one of our steps, but that command is timing out after ten minutes with the following error:

Too long with no output (exceeded 10m0s): context deadline exceeded

Daemons using outdated libraries
Which services should be restarted?


We have not made any changes to our playwright version or config - this error started happening out of the blue.

Has anyone run into this and managed to resolve it?


This thread is trying to answer question "Has anyone encountered and resolved an issue where 'npx playwright install --with-deps chromium' times out in CircleCI?"

4 replies
Logan (Apryse)

Just a follow up, I ended up fixing this by adding

      DEBIAN_FRONTEND: noninteractive

To our CircleCI config. I don't know why this fixes it, but it does!


DEBIAN_FRONTEND: noninteractive means it should not expect to have any user input, which it looks like it was, which was stalling the installation and failing


NEEDRESTART_MODE could be set to l if you are setting DEBIAN_FRONTEND: noninteractive


Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.