npx typescript-run otp.ts
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/root/.npm/_npx/7488/lib/node_modules/typescript-run/node_modules/esbuild/install.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! esbuild@0.12.15 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the esbuild@0.12.15 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/2021-07-18T10_11_30_207Z-debug.log
Install for [ 'typescript-run@latest' ] failed with code 1
node 14.15.0
npm 6.14.8