I want to use mocha to test my TypeScript/Angular2 project. I tried to use ts-node as described here:
npm install -g ts-node
Error: module.js:328 throw err; Error: Cannot find module 'ts-node'
Solution: Following command solves the issue.
npm install ts-node --save-dev
(Installs ts-node as a development dependency for your project)