chat-app-react-nodejs icon indicating copy to clipboard operation
chat-app-react-nodejs copied to clipboard

Issue in Register user and in chat section

Open Shubhithebeast opened this issue 2 years ago • 3 comments

First, i have issue in Register user, when i register a new user, the data is succesfully saved in db, but the loacalStorage showing blank object image after register its opening setavatar page bcz chat-app-user is present in local storage though its {} but giving error while setting avatar saying undefined image

but if i login with same user creds, after removing object from localstorage then localstorage showing data and can set avatar too image and also when ever new user try to setAvatar always give toast error, if try again then its working, but giding error in 1st always, u also face issue in video too

now chat page is open but not able to display only contacts, i watched in utube video , this happens with u too, u didn't show how u tackle it , like if register some users, then i already tried it, but not showing anything in chats

image this last pic, look in console, there some errors too, get api error, , look into it too, i am atthing my repo link here so u can chk my where i have correct -> https://github.com/Shubhithebeast/LetsChat.git thanku, that'll for now... I am really enjoying ur project tutorial....

Shubhithebeast avatar Jan 26 '24 15:01 Shubhithebeast

hii contributors help me in my issue... @koolkishan @rajkaranm

Shubhithebeast avatar Jan 28 '24 13:01 Shubhithebeast

hey, @koolkishan @rajkaranm help me to solvce this, i stucking here from long time

Shubhithebeast avatar Jan 31 '24 16:01 Shubhithebeast

First, i have issue in Register user, when i register a new user, the data is succesfully saved in db, but the loacalStorage showing blank object

image

after register its opening setavatar page bcz chat-app-user is present in local storage though its {} but giving error while setting avatar saying undefined

image

but if i login with same user creds, after removing object from localstorage then localstorage showing data and can set avatar too

image

and also when ever new user try to setAvatar always give toast error, if try again then its working, but giding error in 1st always, u also face issue in video too

now chat page is open but not able to display only contacts, i watched in utube video , this happens with u too, u didn't show how u tackle it , like if register some users, then i already tried it, but not showing anything in chats

image

this last pic, look in console, there some errors too, get api error, , look into it too, i am atthing my repo link here so u can chk my where i have correct -> https://github.com/Shubhithebeast/LetsChat.git

thanku, that'll for now... I am really enjoying ur project tutorial....

Have you already fixed these issues?

eduardoaldrim avatar Feb 26 '24 19:02 eduardoaldrim