You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error after everything got started. Earlier mongoose was not even getting installed. Object # has no method 'desc'. May you help me how can I resolve this issue.
The text was updated successfully, but these errors were encountered:
Express
500 TypeError: Object # has no method 'desc'
at C:\Node-polls-master\utils.js:34:25
at Array.forEach (native)
at Object.exports.async_queries (C:\Node-polls-master\utils.js:21:9)
at app.get.req.session.redirectTo (C:\Node-polls-master\routes\index.js:41:8)
at callbacks (C:\Node-polls-master\node_modules\express\lib\router\index.js:272:11)
at param (C:\Node-polls-master\node_modules\express\lib\router\index.js:246:11)
at pass (C:\Node-polls-master\node_modules\express\lib\router\index.js:253:5)
at Router._dispatch (C:\Node-polls-master\node_modules\express\lib\router\index.js:280:5)
at Object.Router.middleware as handle
at next (C:\Node-polls-master\node_modules\express\node_modules\connect\lib\http.js:204:15)
I'm not maintaining this app anymore but I guess it has something to do with the MongoDB version you are using. Please check that the mongoose version supports your MongoDB installation.
I am getting this error after everything got started. Earlier mongoose was not even getting installed. Object # has no method 'desc'. May you help me how can I resolve this issue.
The text was updated successfully, but these errors were encountered: