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

lerna run {cmd} never ends in github action windows-latest #2899

Closed
RonWang opened this issue May 11, 2021 · 2 comments
Closed

lerna run {cmd} never ends in github action windows-latest #2899

RonWang opened this issue May 11, 2021 · 2 comments
Labels

Comments

@RonWang
Copy link

RonWang commented May 11, 2021

My monorepo is private so cannot share the code here. The issue is when running the build process using lerna, the github action stuck when running in the windows-latest (passing in Mac OS and Ubuntu). After looking into the code, execa may be what I need to inspect so I found some similar issue in their repo sindresorhus/execa#433. However the mentioned solution doesn't work for me.

Expected Behavior

I expect the "lerna run" works for me without hanging issue.

Current Behavior

I hit into the hanging problem in my windows github action.

Steps to Reproduce (for bugs)

1.I've attached the system info, it's github action 's windows-latest. It's only hanging in that environment.
2.My repo runs lerna run build command which triggers the build script for all my repos. Most of my build commands are simple "tsc".
3.After debuging into the github action's host, I figured if I don't run npm script through lerna, the npm script is in fact working. Lerna run multiple scripts is the cause to the hanging problem.

lerna.json

{
  "$schema": "https://json.schemastore.org/lerna",
  "npmClient": "npm",
  "packages": ["packages/@myOrg/*", "tests/integ/*", "tests/unit"],
  "version": "4.0.0"
}

Your Environment

Executable Version
lerna --version 3.22.1
npm --version 6.4.10
node --version 12.20.1

OS:

# systeminfo

OS Name:                   Microsoft Windows Server 2019 Datacenter
OS Version:                10.0.17763 N/A Build 17763
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Server
OS Build Type:             Multiprocessor Free
System Manufacturer:       Microsoft Corporation
System Model:              Virtual Machine
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 85 Stepping 7 GenuineIntel ~2594 Mhz
@github-actions
Copy link

github-actions bot commented Jun 3, 2022

Hi Folks 👋

You may or may not know that lerna is now under the stewardship of Nrwl (announcement here #3121), a company with a long history of not just producing valuable open-source software (OSS), but also backing others (at the time of writing, Nrwl has donated over $50,000 to OSS it hasn't created, see https://opencollective.com/nx for full details).

Quite simply, Nrwl ❤️ OSS, and is committed to making lerna the best it can be. We use it ourselves.

In order to take this awesome project forward from its current state, it is important that we focus our finite resources on what is most important to lerna users in 2022.

With that in mind, we have identified this issue as being potentially stale due to its age and/or lack of recent activity.


Next steps:

We want to give you some time to read through this comment and take action per one of the steps outlined below, so for the next 14 days we will not make any further updates to this issue.

@RonWang as the original author of this issue, we are looking to you to update us on the latest state of this as it relates to the latest version of lerna.

Please choose one of the steps below, depending on what type of issue this is:

  • A) If this issue relates to a potential BUG in the latest version of lerna:

  • B) If this issue is a FEATURE request to be added to the latest version of lerna:

    • Simply comment back on this thread so that we know you still want us to consider the request for the latest version of lerna.
  • C) If this issue is a QUESTION which is applicable to latest version of lerna:

  • D) If this issue is no longer applicable to the latest version of lerna:

    • Please close the issue.

If we do not hear from @RonWang on this thread within the next 14 days, we will automatically close this issue.

If you are another user impacted by this issue but it ends up being closed as part of this process, we still want to hear from you! Please simply head over to our new issue templates and fill out all the requested details on the template which applies to your situation:

https://github.com/lerna/lerna/issues/new/choose

Thank you all for being a part of this awesome community, we could not be more excited to help move things forward from here 🙏 🚀

@github-actions github-actions bot added the stale label Jun 3, 2022
@JamesHenry
Copy link
Member

This should hopefully be fixed by @feryardiant change, applied in #3156

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

Successfully merging a pull request may close this issue.

2 participants