-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
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
[BUG] : Lock file is already being held #8621
Comments
Could you try this with the latest playwright (1.14.1) and see if the issue is still there? |
This is the output I get on a fresh clone of you repo: % cd playwright-test
% yarn
yarn install v1.22.11
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
✨ Done in 0.56s.
% uname -m
arm64 |
With the latest playwright version? |
From the error it looks like you have another installation process that is running concurrently.
I tried with exact project you have. Shouldn't matter. |
So, I upgraded playwright packages to 1.14.1 and everything’s working now. Thanks for that :)
Nope, I triple-checked, I was only installing in that project. |
It might be that previous installation was aborted for some reason and left the dir lock file (which would expire after some time), which is highly unlikely though. Just speculating. Closing the issues since your problem was solved. |
Hi, I am still experiencing this issue on my M1 Mac, even with the playwright @ 1.15.2.
when running yarn in my repository. Any suggestions on what could cause this issue or how to further proceed? |
@olemaiwald I'm not sure what exactly causes it but when i install nodejs with volta it worked seamlessly |
When I reinstall node with volta (previously via homebrew) it works well for me too. Interesting, thank you! |
@mahaveer0496 not work for me. with playwright@1.16.3 |
I'm facing the same issue. I've already tried using node installed directly from https://nodejs.org/, using nvm, and volta, and I'm always getting the same error. |
|
Context:
Describe the bug
Can't install
playwright
with yarn or npm on M1, works fine on WSL2 and Linux. Here's a repo to reproduce https://github.com/mahaveer0496/playwright-testTried reinstalling everything and also this solution #4242 (comment), didn't work.
package.json
Thanks!
The text was updated successfully, but these errors were encountered: