room into error
poptong opened this issue · 3 comments
poptong commented
"stack": [
"TypeError: Cannot read property 'id' of undefined",
" at /chat/app/socket/index.js:57:27",
" at /chat/node_modules/mongoose/lib/model.js:4056:16",
" at /chat/node_modules/mongoose/lib/services/model/applyHooks.js:175:17",
" at process._tickCallback (internal/process/next_tick.js:150:11)"
],
"level": "error",
"message": "uncaughtException: Cannot read property 'id' of undefined"
Samhot commented
Same error for me, anyone gets a solution ?
A1iAshoor commented
OmarElgabry commented
I updated the version of Mongoose to 5.x.x as suggested by @A1iAshoor at 455bddb. Hope that will solve the issue.