nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.67k stars 2.36k forks source link

nx graph --print not working #28688

Open canyavall opened 2 weeks ago

canyavall commented 2 weeks ago

Current Behavior

If you use the command 'nx graph --print' instead of showing in console the graph will open the browser as the "nx graph" does

Expected Behavior

The graph is not opening the browser and showing it but instead send the data to the stdo and we can pick it up

GitHub Repo

No response

Steps to Reproduce

1- open any project 2- Execute the command 'nx graph --print' and observe as it opens the browser and don't expose the output to the stdo

Nx Report

Node : 20.12.2 OS : linux-x64 Native Target : x86_64-linux npm : 10.5.0

nx : 20.0.3 @nx/js : 20.0.3 @nx/jest : 20.0.3 @nx/eslint : 20.0.3 @nx/workspace : 20.0.3 @nx/cypress : 20.0.3 @nx/devkit : 20.0.3 @nx/eslint-plugin : 20.0.3 @nx/playwright : 20.0.3 @nx/plugin : 20.0.3 @nx/react : 20.0.3 @nx/storybook : 20.0.3 @nx/vite : 20.0.3 @nx/web : 20.0.3 @nx/webpack : 20.0.3 typescript : 5.5.4

Registered Plugins: @nx/eslint/plugin @nx/playwright/plugin @nx/jest/plugin @nx/jest/plugin

Community plugins: @koliveira15/nx-sonarqube : 4.1.0

Failure Logs

No failure logs

Package Manager Version

No response

Operating System

Additional Information

No response

thutinavaneethreddy commented 1 week ago

@Coly010 / @leosvelperez / @canyavall - I am looking into it. Can you please assign it to me?