How to get output from node exec when running `npm install`?
<p>I'm running the following: </p>

<pre><code>const exec = require('child_process').exec;
let installProcess = exec('npm install');
    installProcess.stdout.pipe(process.stdout);
    installProcess.stderr.pipe(process.stderr);
</code></pre>

<p>But I get no output in my terminal, what else can I try?</p>