I was working on a project using Firebase functions and tried implementing Multer, but it kept throwing the same error.
I ended up using this dependency express-multipart-file-parser
https://github.com/cristovao-trevisan/express-multipart-file-parser, and I was finally able to process files in multipart/form-data requests.