We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
latest
I went here: https://playwright.dev/docs/intro#installing-playwright
Followed instructions to install with yarn, i.e. using yarn create playwright
yarn create playwright
To be able to install with yarn.
It is failing to install with this error:
Installing Playwright Test (yarn add --dev -W @playwright/test)… Unknown Syntax Error: Unsupported option name ("-W").
No response
Using yarn 4.4.1
The text was updated successfully, but these errors were encountered:
It looks like you are using workspaces
https://github.com/microsoft/create-playwright/blob/main/src/packageManager.ts#L84
I can't find where yarn 4.4.1 comes from, at least in their website/github. But in the latest documentation the -W doesn't exist.
4.4.1
-W
https://yarnpkg.com/cli/add
Sorry, something went wrong.
It seems to be a remnant from Yarn v1: https://classic.yarnpkg.com/en/docs/cli/add#toc-yarn-add-ignore-workspace-root-check-w
Skn0tt
Successfully merging a pull request may close this issue.
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:
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: