diff --git a/gulp/gulp-build.js b/gulp/gulp-build.js index 3aa106b8fc..11f91b454f 100644 --- a/gulp/gulp-build.js +++ b/gulp/gulp-build.js @@ -51,7 +51,7 @@ gulp.task('build:prepare-mongo', async () => { console.log('MongoDB data folder is missing, setting up.'); // eslint-disable-line no-console // use run-rs without --keep, kill it as soon as the replica set starts - const runRsProcess = spawn('run-rs', ['-v', '4.2.8', '-l', 'ubuntu1804', '--dbpath', 'mongodb-data', '--number', '1', '--quiet']); + const runRsProcess = spawn('run-rs', ['-v', '4.1.1', '-l', 'ubuntu1804', '--dbpath', 'mongodb-data', '--number', '1', '--quiet']); for await (const chunk of runRsProcess.stdout) { const stringChunk = chunk.toString(); diff --git a/package.json b/package.json index f2cea6e173..bcb1f6298c 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "client:unit": "cd website/client && npm run test:unit", "start": "gulp nodemon", "debug": "gulp nodemon --inspect", - "mongo:dev": "run-rs -v 4.2.8 -l ubuntu1804 --keep --dbpath mongodb-data --number 1 --quiet", + "mongo:dev": "run-rs -v 4.1.1 -l ubuntu1804 --keep --dbpath mongodb-data --number 1 --quiet", "postinstall": "git config --global url.\"https://\".insteadOf git:// && gulp build && cd website/client && npm install", "apidoc": "gulp apidoc" },