helper.js node v8.10 
Activity
qiuling2014 commentedon Oct 31, 2018
check mime package version
adrian-marcelo-gallardo commentedon Dec 4, 2018
You can replace with
mime.getType(filePath)