Skip to content

[Bug]: Cannot install Playwright with yarn following instructions #34805

@rbirkgit

Description

@rbirkgit

Version

latest

Steps to reproduce

I went here: https://playwright.dev/docs/intro#installing-playwright

Followed instructions to install with yarn, i.e. using yarn create playwright

Expected behavior

To be able to install with yarn.

Actual behavior

It is failing to install with this error:

Installing Playwright Test (yarn add --dev -W @playwright/test)…
Unknown Syntax Error: Unsupported option name ("-W").

Additional context

No response

Environment

Using yarn 4.4.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions