Installed mocha through package.json and command "npm install".