It looks like it uses &quot;child_pty&quot; to spawn pty&#x27;s. child_pty hasn&#x27;t been updated to support the latest nan&#x2F;v8 api (in fact, it looks like it&#x27;s been unmaintained since March). It also improperly uses fs streams to read and write to the pty fd which will exhaust the thread pool very quickly. So, even if you can compile it, it will still break.<p>It also looks like it doesn&#x27;t handle sigchld with a waitpid anywhere, so be prepared to have a zombie apocalypse on your machine.<p>I&#x27;d recommend the author switch to pty.js[1] which now compiles on io.js &gt;=3.0.0 and reads pty fd&#x27;s properly, but I&#x27;m biased.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;pty.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chjj&#x2F;pty.js</a>