New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
empty req.body and req.file when run in firebase hosting #572
Comments
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 |
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 . |
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 ?
The text was updated successfully, but these errors were encountered: