protected function hasNode() { if ($this->useWindows()) { $node = shell_exec('where node'); } else { $node = shell_exec('which node'); } return str_contains($node, 'node'); }