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
On windows systems ps-tree uses WMIC to get the list of child processes (line 51 in index.js).
WMIC has been available as a Feature-on-Demand (FoD) for Windows 11 since 2022. My new system is Win11pro 24H2 and there is no more WMIC on this system, not even available as FoD.
As a consequence ps-tree crashes when trying to get the list of child processes. I was encountering this problem, when using the start-server-and-run package (see its issue #384).
The official statements recommend to use powershell instead of WMIC.