-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Nx operations hangs indefinitely #27494
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
Comments
Not sure if the issue is related, but I get a similar behavior when upgrading from NX 18 to NX 19. My installation gets stuck on the Using: |
We have some members of our team experiencing this issue too, one reverted to the last version of nx we were on (19.2.3) to get around this fail to install. Would be great to get a fix for this. |
This occurs on Can you also see if any of these environment variables resolve the issue?
|
It try
I tried to use what seems like basic option to remove complexity but nothing changed. |
I have the same problem, both The last version that worked is MacBookPro intel cpu |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
I've suffered from this issue in bitbucket pipelines... 😕 Sometimes it takes so many time to run postinstall |
this is the same: #20270 |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
Similar issue: #28148 |
I have the same problem with pnpm/npm/yarn. NX 19.8.2, Node v20.17.0, PNPM 9.11.0, Apple M2 Pro Edit: although i killed all processes accessing files in the project with |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
Up |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
Bump |
Perhaps we should create a new issue for the one cause we know of and can repro, and leave this issue open for the other potential causes? |
Leaving this here as it might help someone else. I also thought I didn't have any .gitignore above my nx repo, but it turns out I had one in my home ( After I erased that .gitignore, the command stopped hanging. |
Yes I had the same issue! Thank you for pointing it out! |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
I am able to reproduce this issue with both nx versions |
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
|
We still cannot build the thing using a docker stage, but we can build it locally and just copy stuff into our image. This is why I've removed the `dist` folder from our dockerignore file. Not good, I know, but when I find out why it does not build in docker, I will revert. Thus far it seems to be this issue I'm hitting: nrwl/nx#27494
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
|
This issue has been automatically marked as stale because no reproduction was provided within 7 days. |
For the record: this bug is a factor in why I don't use nx right now. I can't honestly tell if the bug is still present (since I don't use it), but this auto-close is very unprofessional. Open source doesn't owe us anything, but I certainly wouldn't pay for this if I knew I could. |
Found this thread after a lot of searching, seems like it's common for this to hang at |
It hangs for me too After 2 minute I get this:
Even if I run
Even with verbose no output no nothing It would be nice that it at least gives some console.log("starting x,y,z..") at the beginning when setting I'm on Mac M4, using react |
This issue is closed and likely not being monitored by anyone that can do anything about it. I think a new issue should be created for best chances of this problem being addressed. |
I had the same issue. Mine was simply solved by upgrading Node. I discovered a mismatch when running |
oh the top support, just close the issue |
yes that helped me as well. how it even possible that gitignore could cause like that 🤦 🤦 🤦 🤦 |
Im seeing intermittent hang like every 3rd or 4th live-reload |
Uh oh!
There was an error while loading. Please reload this page.
Current Behavior
I'm trying to add Nx to my TS monorepo.
On first try, I installed it (pnpm i nx) but any run would hang on indefinitely. So I removed it, tried to reinstall it but now it hangs at postinstall
I tried other approach like pnpm dlx nx@latest init or even npx nx@latest init but it hangs at
Also tried pnpm dlx create-nx-workspace from scratch but it hangs on the second step
Expected Behavior
Inits operations should complete gracefully
GitHub Repo
No response
Steps to Reproduce
pnpm dlx create-nx-workspace
Nx Report
Failure Logs
No response
Package Manager Version
PNPM v9.7.0 or NPM v10.5.0
Operating System
Additional Information
A common logs I see with
NODE_DEBUG=*
on all the nx command isThe
addressType: NaN
caught my eyes but I don't know if it's relevant. But this logs keeps repeating until it hangs onI tried emptying
/tmp
, restarting,nx clean
but the issue persistsThe text was updated successfully, but these errors were encountered: