Hi. My main focus for deploying this NextJS app was on serverless environments like Vercel, hence formidable-serverless. So if the setup doesn't work, and you don't need to deploy to a serverless platform, you could try replacing formidable-serverless with the original formidable. Alternatively, a 4th method could involve generating a signed URL for uploading in an API route. Subsequently, a PUT request can be sent from the frontend to that signed URL that includes the user's file. I may update the article with this 4th method, but for now, see github.com/googleapis/nodejs-storage/blob/main/sa…
Thanks for your quick reply: I think I manage to make it work. i created a new method Joseph Nma you can check what what I changed here : shorturl.at/bdrw8. Let me know if there's anything wrong with my implementation. Thanks