I am trying to build a thumbnail generator but I get an undefined error when I run the script in node js.
const fluentffmpeg = require("fluent-ffmpeg&quo