You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command NX_DAEMON=false node_modules/.bin/nx show projects hangs.
Expected Behavior
The command NX_DAEMON=false node_modules/.bin/nx show projects completes in a reasonable time (seconds).
GitHub Repo
No response
Steps to Reproduce
It is similar and related to #30997, with a small difference on step 3.
Create an application that uses Nx, (optionally Lerna) and contains multiple packages in ~/projects/project-1 and configure it properly to manage multiple packages.
Run NX_DAEMON=false node_modules/.bin/nx show projects and confirm that it lists all the packages described in package.json under the workspaces key.
Create a .gitignore file in ~/projects (or directly in ~) and put in it:
*
Run NX_DAEMON=false node_modules/.bin/nx show projects and expect it a reasonable time to complete. It never completes, it hangs. It does not complete even when Ctrl-C is pressed.
Note: NX_DAEMON=false is used to force the CLI command do the processing, to create a minimum reproducible example. Using the daemon produce the same outcome (the command never ends) with the difference that now the daemon hangs and the CLI command can be interrupted using Ctrl-C.
Nx Report
NX Report complete - copy this into the issue template
Node : 20.18.3
OS : darwin-arm64
Native Target : aarch64-macos
npm : 10.9.2
nx : 20.8.1
lerna : 8.2.1
@nx/devkit : 20.8.1
typescript : 5.7.3
---------------------------------------
Cache Usage: 0.00 B / 92.64 GB
Failure Logs
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
The issue affects all commands that are based on the outcome of show projects.
It is related to #30997 and has the same cause. Please check the "Additional Information" on #30997 for details.
The text was updated successfully, but these errors were encountered:
Current Behavior
The command
NX_DAEMON=false node_modules/.bin/nx show projects
hangs.Expected Behavior
The command
NX_DAEMON=false node_modules/.bin/nx show projects
completes in a reasonable time (seconds).GitHub Repo
No response
Steps to Reproduce
It is similar and related to #30997, with a small difference on step 3.
~/projects/project-1
and configure it properly to manage multiple packages.NX_DAEMON=false node_modules/.bin/nx show projects
and confirm that it lists all the packages described inpackage.json
under theworkspaces
key..gitignore
file in~/projects
(or directly in~
) and put in it:NX_DAEMON=false node_modules/.bin/nx show projects
and expect it a reasonable time to complete. It never completes, it hangs. It does not complete even when Ctrl-C is pressed.Note:
NX_DAEMON=false
is used to force the CLI command do the processing, to create a minimum reproducible example. Using the daemon produce the same outcome (the command never ends) with the difference that now the daemon hangs and the CLI command can be interrupted using Ctrl-C.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
The issue affects all commands that are based on the outcome of
show projects
.It is related to #30997 and has the same cause. Please check the "Additional Information" on #30997 for details.
The text was updated successfully, but these errors were encountered: