📅  最后修改于: 2022-03-11 14:58:19.933000             🧑  作者: Mango
In node-tesseract's folder modify tesseract.js:
Before:
fs.unlink(files[0]);
Now:
fs.unlink(files[0], err => { if (err) console.log(err) });