Skip to content

Unable to install #57

@homanchou

Description

@homanchou

When running mix playwright.install I get the following error:


00:01:40.922 [info] Installing playwright browsers and dependencies
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required

00:01:41.135 [info] Installing dependencies...
Switching to root user to install dependencies...
Failed to install browsers
Error: Installation process exited with code: 1

** (RuntimeError) Failed to install playwright browsers
    (playwright 1.44.0-alpha.3) lib/playwright/sdk/cli.ex:13: Playwright.SDK.CLI.install/0
    (mix 1.17.2) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
    (mix 1.17.2) lib/mix/cli.ex:96: Mix.CLI.run_task/2
    /home/titan/.kiex/elixirs/elixir-1.17.2-/bin/mix:2: (file)

I'm running this on ubuntu terminal of window subsystem for linux 2 if that makes a difference. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions