Open nateshmbhat opened 6 years ago
Same problem here, any solution?
I found out that a firebase update made this multer module unworkable . So we can't use multer with firebase hosting now .
Read this Handling multipart data
Thanks for the reply, I found this yesterday https://stackoverflow.com/questions/47242340/how-to-perform-an-http-file-upload-using-express-on-cloud-functions-for-firebase . I had fix the problem with the express-multipart-file-parser is the eases way. Thanks again!
Did express-multipart-file-parser module work for u after deploying?
I thought the only working solution was to use the busboy module which required lot of bloatware code.
Thanks for pointing out the firebase bug! I ended up using busboy. It was the only way that worked for me. 2 days on this so far!
I don't know if its the problem of firebase or multer .
It works fine on my local server but when I deploy it to firebase , it gives me empty req.body and req.file . How to fix this ?