I\'m receiving the following error with express:
Error: request entity too large at module.exports (/Users/michaeljames/Documents/Projects/Proj/mean/node
In my case the problem was on Nginx configuration. To solve it I have to edit the file: /etc/nginx/nginx.conf and add this line inside server block:
/etc/nginx/nginx.conf
client_max_body_size 5M;
Restart Nginx and the problems its gone
sudo systemctl restart nginx