You should rather : 

```
echo sprintf('%s is required to install vendors', $node);
exit(1);
```