Skip to content
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

Windows prepare npm@latest --activate times out. #171

Open
nathanhammond opened this issue Aug 29, 2022 · 0 comments
Open

Windows prepare npm@latest --activate times out. #171

nathanhammond opened this issue Aug 29, 2022 · 0 comments

Comments

@nathanhammond
Copy link

Corepack on Windows inside of GitHub Actions appears to fail prepare npm@latest --activate the first time it is invoked for some reason. Subsequent calls to prepare npm@latest --activate (appear to) succeed.

This is with npm install -g corepack@latest, so it fails in the most-recent version.

I'm unable to reproduce the failure locally.

You can see the workaround we have added in our test suite:
nathanhammond/turbo@8704887

GitHub Actions runs demonstrating the failure:
https://github.com/vercel/turborepo/runs/8009494656?check_suite_focus=true#step:10:2570
https://github.com/vercel/turborepo/runs/8037161338?check_suite_focus=true#step:10:124

As a reproduction I offer the parent commit of the workaround (fails 100% of the time):
nathanhammond/turbo@6c6aada

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant