Why are you importing Buffer and not using it. There are better ways to create a buffer without using Node. But you aren't doing anything with it so what's it doing there?
sharp I doubt will work but I don't know. If you want to use sharp I would recommend using another service for only that purpose... a node based serverless env. Busboy... been awhile since I used that. Typically used for getting files or images right? If it's images... Cloudflare has a way to handle this https://developers.cloudflare.com/images/cloudflare-images/upload-images/direct-creator-upload/