Problem in deploying socket app

it says app crashed when heroku logs is checked

@nkumar199775 please attach the image of the heroku logs, only then we can find the bug and see what is it that’s going wrong

link of repo with screenshot of heroku logs

@nkumar199775 change process.env.port to process.env.PORT and try again

ok it is done but tell me what does .gitignore do here and what is the role of script start:node.js in json file

@nkumar199775 what .gitignore does is that it excludes you files listed in here from being included in your git commit, we create this file you that we don’t commit any unwanted file by mistake
.gitignore serves no other purpose

after sending message the text remains in the text box how can i clear it.I have tried $(’#msgbox’).text(’’) but it didnt work

@nkumar199775 use .val("") instead of .text("")

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.