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