Skip to content
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

TypeError: Cannot read property '_id' of undefined #63

Open
ordep2v opened this issue Dec 5, 2020 · 7 comments
Open

TypeError: Cannot read property '_id' of undefined #63

ordep2v opened this issue Dec 5, 2020 · 7 comments

Comments

@ordep2v
Copy link

ordep2v commented Dec 5, 2020

Hi, i arealdy done this course and have one issue.

" TypeError: Cannot read property '_id' of undefined "
errobasir2

I downloaded your full repository and have this error too..
Thanks

@akashk2002
Copy link

image

@sevtechcodes
Copy link

Hi,
I am getting an error at 12.lesson. Any suggestion how to solve it?
amazona_error

@ordep2v
Copy link
Author

ordep2v commented Dec 28, 2020

I solved my issue upgrading my mongodb to the latest version.

@JennaFi
Copy link

JennaFi commented Jan 5, 2021

same here

@JennaFi
Copy link

JennaFi commented Jan 11, 2021

nothing helped. mongodb already the latest version

@jorgeariasacevedo
Copy link

you only need delete your database in mongodb of product and users, in any case delete all and create it again restarting the application.

@mohitshahu108
Copy link

check whether your API is working properly
by using the postman tool
if it is then check your database is created or not

by running the command on terminal: mongo
use amanzona
then show collection products

if exist
check did you have imported products from redux store in the file where you tried to use product.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants