mohamedsamara / mern-ecommerce

:balloon: Fullstack MERN Ecommerce Application
https://mern-store-gold.vercel.app
MIT License
1.63k stars 770 forks source link

Unable to find anything related to add product! #231

Closed alitasawar closed 4 months ago

alitasawar commented 5 months ago

Describe the bug As soon as I setup the project db and everything and loggedIn ,I was unable to add any product so that I am unable to explore this app please help me

To Reproduce Steps to reproduce the behavior: Clone then run by following up steps on github afterward resolve any errors ,now update .env and run seeds.

Expected behavior I was expecting a way to add product so I can continue with it.

Screenshots

image image image

Desktop (please complete the following information): Window 10 Additional context I am new and trying to learn by contributing to github.it would be a great help if anyone can resolve my issue.

alitasawar commented 5 months ago

I accidently tried creating another account meanwhile I had like 0% chance back in mind,but by running another seed it worked!😎😅

I'm super happy that It got fixed... image image

alitasawar commented 5 months ago

image image Now got issue with adding new product even added sku brand and image,I'm unable to get much info about the issue in the console ,I'm starting debugging it myself but i thought it would be valueable as if I describe the issues as I go through the product/app. also I will share solution to my problem if I would be able to, Although I don't know if it seems spam'y but I had no intention like this ,please do guide me if I am doing it wrong.by posting it on the go.

alitasawar commented 5 months ago

I was debugging it and found under the add product api it's trying to save images to aws for some reason mongo isn't quite enough so this is why it returns some error which is not handled properly .for someone like me who haven't yet used /created aws accounts.