-
Notifications
You must be signed in to change notification settings - Fork 859
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
Cannot read properties of null (reading 'friends') #52
Comments
Friend.jsx :
server/controllers/users.js :
i think the problem is array(friends) is empty and function cant find something in array(friends) |
Hi, I faced the same issue too. To resolve it, you need to drop your entire collection and run the seeding data again in your index.js file in your server (remember to comment it out back after running once)
Then try adding friends again Hope it works! :))) |
thanks for your help. I solved the issue on my first try. good programming to you :)) |
i got this problem when i trying to add friend someone. but i don't get that when i add friend myself. how can i fix that ?
The text was updated successfully, but these errors were encountered: