You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
Node.js v14.5.0, mongodb-runner cannot get started
It worked on node v12.
> mongodb-runner start --topology=replicaset && npm run amendJest
◟ Starting a MongoDB deployment to test against...internal/fs/utils.js:701
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (50900)
at writeFile (fs.js:1385:5)
at go$writeFile (/Users/apple/MyProj/node_modules/graceful-fs/graceful-fs.js:139:14)
at Object.writeFile (/Users/apple/MyProj/node_modules/graceful-fs/graceful-fs.js:136:12)
at Object.writeFile (/Users/apple/MyProj/node_modules/universalify/index.js:5:67)
at /Users/apple/MyProj/node_modules/mongodb-runner/lib/index.js:240:12
at nextTask (/Users/apple/MyProj/node_modules/mongodb-runner/node_modules/async/dist/async.js:4576:27)
at next (/Users/apple/MyProj/node_modules/mongodb-runner/node_modules/async/dist/async.js:4584:13)
at /Users/apple/MyProj/node_modules/mongodb-runner/node_modules/async/dist/async.js:321:20
at /Users/apple/MyProj/node_modules/mongodb-runner/lib/index.js:235:11
at getPIDPath (/Users/apple/MyProj/node_modules/mongodb-runner/lib/index.js:22:3) {
code: 'ERR_INVALID_ARG_TYPE'
}
npm ERR! Test failed. See above for more details.