nrwl / nx-console

Nx Console is the user interface for Nx & Lerna.
https://nx.dev
MIT License
1.3k stars 210 forks source link

Windows: descriptions breaks the Generate UI #2156

Closed ErickRodrCodes closed 3 months ago

ErickRodrCodes commented 4 months ago

Current Behavior

I think this has been for a while: While writing a description for ANYTHING (generators, executors, others), it seems Nx doesn't recognize properly the arguments on the description:

On Powershell image

on CMD works good image

on git bash for windows it doesn't even flinch (probably because zsh for windows) but after repeating the command it works fine image

Expected Behavior

Arguments for description should be properly supported on powershell

GitHub Repo

No response

Steps to Reproduce

  1. create an Nx generator/executor with a description in Powershell. THAT'S IT.

Nx Report

NX   Report complete - copy this into the issue template

Node   : 20.10.0
OS     : win32-x64
npm    : 10.2.3

nx (global)        : 18.0.4
nx                 : 18.3.4
@nx/js             : 18.3.4
@nx/jest           : 18.3.4
@nx/linter         : 18.3.4
@nx/eslint         : 18.3.4
@nx/workspace      : 18.3.4
@nx/devkit         : 18.3.4
@nx/esbuild        : 18.3.4
@nx/eslint-plugin  : 18.3.4
@nx/node           : 18.3.4
@nx/plugin         : 18.3.4
@nx/react          : 18.3.4
@nrwl/tao          : 18.3.4
@nx/vite           : 18.3.4
@nx/web            : 18.3.4
typescript         : 5.4.5
---------------------------------------
Registered Plugins:
@demo-electron-react/nx-electron-vite
@nx/vite/plugin
@nx/eslint/plugin
---------------------------------------
Local workspace plugins:
         @demo-electron-react/nx-electron-vite

Failure Logs

No response

Package Manager Version

10.2.3

Operating System

Additional Information

No response

MaxKless commented 3 months ago

Hey! Thanks for the report @ErickRodrCodes :) I've been wondering about this for a while but then understood that it's only because of powershell. For now you can switch to using command prompt but I will fix this issue ASAP. For now closing this as a duplicate of https://github.com/nrwl/nx-console/issues/2138