I believe this is due to a breaking change in node 22. I also believe the fix is to use the nodeJS options: spawn (command, args, { shell: true }); but that's a change to the CLI as we can't pass that ...