Chat
Chat copied to clipboard
There is a weird error when someone signs up 
``` socket.on('private message',function(msg){ console.log('message :'+msg.split("#*@")[0]); models.messages.create({ "message":msg.split("#*@")[1], "sender" :msg.split("#*@")[2], "reciever":msg.split("#*@")[0], "date" : new Date()}); io.to(users[msg.split("#*@")[0]]).emit('private message', msg); }); ``` The above `msg` is coming from frontend and thus anyone can...
Can I publish it on playstore because that is a webapp plss reply....thank you in advance😊😊
Hi, i installed all modules and run "npm start" but it throws Error: [nodemon] 1.17.3 [nodemon] to restart at any time, enter `rs` [nodemon] watching: *.* [nodemon] starting `node server.js`...
I get this error when trying to start the server. MongooseError: Can't call `openUri()` on an active connection with different connection strings. Make sure you aren't calling `mongoose.connect()` multiple times....