completion.ts: hasGlobalCliInstall requires "which" #23997
Labels
area: angular/cli
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When
which
does not exist on the path,hasGlobalCliInstall
does not resolve its promise. Then, maybe due to nodejs/node#22088, the process exits prematurely.Minimal Reproduction
I got here running
ng build
from a nixpkgs build of PeerTube, which has a lot of layers, but this phenomenon of early exiting can be reproduced with a simple example:Exception or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: