# npm install -g mountebank
/usr/bin/mb -> /usr/lib/node_modules/mountebank/bin/mb
> nodem...@6.4.11 postinstall /usr/lib/node_modules/mountebank/node_modules/nodemailer
> node -e "try{require('./postinstall')}catch(e){}"
> nodem...@6.4.10 postinstall /usr/lib/node_modules/mountebank/node_modules/smtp-server/node_modules/nodemailer
> node -e "try{require('./postinstall')}catch(e){}"
> e...@2.7.4 postinstall /usr/lib/node_modules/mountebank/node_modules/ejs
> node ./postinstall.js
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module '/usr/lib/node_modules/mountebank/node_modules/ejs/postinstall.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! e...@2.7.4 postinstall: `node ./postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the e...@2.7.4 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-09-25T21_47_18_494Z-debug.log