Mongosh build failure

Not having much luck lately building mongosh from the repo master branch.

> mongosh@ evergreen-release /mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh
> node scripts/evergreen-release.js "compile"

mongosh: running command 'compile' with config: {
  version: '0.0.0-dev.0',
  appleNotarizationBundleId: 'com.mongodb.mongosh',
  rootDir: '/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh',
  input: '/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/packages/cli-repl/lib/run.js',
  buildVariant: '',
  execInput: '/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/packages/cli-repl/dist/mongosh.js',
  outputDir: '/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/dist',
  project: undefined,
  revision: undefined,
  branch: undefined,
  isCi: false,
  platform: 'linux',
  repo: { owner: 'mongodb-js', repo: 'mongosh' },
  isPatch: false
}
/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/scripts/evergreen-release.js:33
  (err) => process.nextTick(() => { throw err; }));
                                    ^

Error: Segment key is required
    at Object.writeAnalyticsConfig [as default] (/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/packages/build/lib/analytics.js:21:15)
    at Object.generateInput [as default] (/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/packages/build/lib/generate-input.js:10:30)
    at Object.compileExec [as default] (/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/packages/build/lib/compile-exec.js:30:35)
    at release (/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/packages/build/lib/release.js:61:37)
    at async runRelease (/mnt/4bcabbf7-6928-4c6d-bad5-5e01e41e9625/jwoehr/MongoDB/mongosh/scripts/evergreen-release.js:28:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mongosh@ evergreen-release: `node scripts/evergreen-release.js "compile"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the mongosh@ evergreen-release 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!     /home/jwoehr/.npm/_logs/2021-01-18T03_49_33_922Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mongosh@ compile-exec: `npm run evergreen-release compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the mongosh@ compile-exec 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!     /home/jwoehr/.npm/_logs/2021-01-18T03_49_33_952Z-debug.log

@Jack_Woehr as part of some recent changes to simplify our release process, we are now expecting that the API key for the service we are using for telemetry is set. To build mongosh for yourself, you should be able to get around that by running:

SEGMENT_API_KEY="dummy" node scripts/evergreen-release.js "compile"

Thanks, @Massimiliano_Marcon … that seems to error out as follows:

    internal/modules/cjs/loader.js:1033
  throw err;
  ^

Error: Cannot find module 'adm-zip'
Require stack:
- /work/jwoehr/MongoDB/mongosh/packages/build/lib/tarball.js
- /work/jwoehr/MongoDB/mongosh/packages/build/lib/compile-and-zip-executable.js
- /work/jwoehr/MongoDB/mongosh/packages/build/lib/release.js
- /work/jwoehr/MongoDB/mongosh/packages/build/lib/index.js
- /work/jwoehr/MongoDB/mongosh/scripts/evergreen-release.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1030:15)
    at Function.Module._load (internal/modules/cjs/loader.js:899:27)
    at Module.require (internal/modules/cjs/loader.js:1090:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at Object.<anonymous> (/work/jwoehr/MongoDB/mongosh/packages/build/lib/tarball.js:9:35)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
    at Module.load (internal/modules/cjs/loader.js:1050:32)
    at Function.Module._load (internal/modules/cjs/loader.js:938:14)
    at Module.require (internal/modules/cjs/loader.js:1090:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/work/jwoehr/MongoDB/mongosh/packages/build/lib/tarball.js',
    '/work/jwoehr/MongoDB/mongosh/packages/build/lib/compile-and-zip-executable.js',
    '/work/jwoehr/MongoDB/mongosh/packages/build/lib/release.js',
    '/work/jwoehr/MongoDB/mongosh/packages/build/lib/index.js',
    '/work/jwoehr/MongoDB/mongosh/scripts/evergreen-release.js'
  ]
}