Closed lukiluki123 closed 5 years ago
When "capturing" or "captured" directory exists I get the following error:
fs.js:909 return binding.mkdir(pathModule.toNamespacedPath(path),
The solution is very easy, replace mkdir function in dvr.js with this:
mkdir
dvr.js
mkdir(dir) { const fulldir = path.resolve(dir); if (!fs.existsSync(fulldir)) { fs.mkdirSync(fulldir, {recursive: true}, (err) => { if (err) { this.log(err.toString()); process.exit(1); }; }); }; return fulldir; }
I suspect your version of node is too old. The {recursive: true} option is what allows it to not fail when the directory exists.
When "capturing" or "captured" directory exists I get the following error:
The solution is very easy, replace
mkdir
function indvr.js
with this: