create-playwright icon indicating copy to clipboard operation
create-playwright copied to clipboard

feat: support install playwright in pnpm workspace root

Open AkaraChen opened this issue 2 years ago • 7 comments

pnpm create playwright getting error in pnpm monorepo.

Relative issues: microsoft/playwright#27203

image

Fixed by look up ${process.cwd()}/pnpm-workspace.yaml

AkaraChen avatar May 27 '23 13:05 AkaraChen

@AkaraChen please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

AkaraChen avatar May 27 '23 13:05 AkaraChen

ran into this today... was a painful experience

aroman avatar Aug 09 '23 21:08 aroman

ran into this today... was a painful experience

For workaround, you can delete pnpm-workspace.yaml,init playwright,finally git discard change

AkaraChen avatar Aug 10 '23 01:08 AkaraChen

@AkaraChen the command you issued was incorrect. Please try again.

Examples are:

@microsoft-github-policy-service agree

and

@microsoft-github-policy-service agree company="your company"

@microsoft-github-policy-service agree

AkaraChen avatar Aug 10 '23 01:08 AkaraChen

@AkaraChen was this already fixed + merged in the following PR?

  • https://github.com/microsoft/create-playwright/pull/102

Seems like it was released in [email protected]

karlhorky avatar Jun 20 '24 10:06 karlhorky