madhavarora03 / proshop

eCommerce application built with MERN Stack & Redux
https://proshop-2otz.onrender.com/
6 stars 2 forks source link

Minified React Error #31 During Vercel Deployment #1

Closed madhavarora03 closed 8 months ago

madhavarora03 commented 8 months ago

I encountered an unexpected application error during the deployment of my React web app to Vercel. The error message points to a Minified React error #31. The application works fine when built and run locally, but the error occurs specifically during deployment.

Error Message:

Unexpected Application Error! Minified React error #31; visit React Error Decoder for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Error: Minified React error #31; visit [React Error Decoder](https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bstatus%2C%20originalStatus%2C%20data%2C%20error%7D) for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Go (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:116146)
    at d (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:117914)
    at v (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:119061)
    at e (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:121122)
    at wu (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:132838)
    at Sl (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:181764)
    at xs (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:169043)
    at gs (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:168971)
    at ys (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:168834)
    at is (https://proshop-alpha.vercel.app/static/js/main.4c4a5d81.js:2:165614)

image

Link to deployed website: ProShop

madhavarora03 commented 8 months ago

The issue has been resolved. It turns out the problem was related to the use of Multer for image uploads. I have since made the necessary adjustments, and the application now deploys successfully.

I've deployed the updated version on Render, and you can check it out at ProShop on Render.