should add recursive: true `fs.mkdirSync(path.join(os.tmpdir(), 'screenCapture'), {recursive: true})`