Cannot find module 'ts-node/register'
<p>I want to use mocha to test my TypeScript/Angular2 project.  I tried to use <strong>ts-node</strong> as described <a href="https://stackoverflow.com/a/35661569/5115768">here</a>:  </p>

<pre><code>npm install -g ts-node
</code></pre>

<p>but when running  </p>

<pre><code>mocha --require ts-node/register -t 10000 ./**/*.unit.ts
</code></pre>

<p>I get an error  </p>

<blockquote>
  <p>Cannot find module 'ts-node/register'</p>
</blockquote>

<p>What am I missing here?</p>