DEV Community

loading...

this.$__path is not a function mongoose error

boobo94 profile image Bogdan Alexandru Militaru Originally published at boobo94.github.io on ・1 min read

Currently I faced a strange error with mongoose “this.$__path is not a function”, described here. If you face the same issue I suggest you to update mongoose to the lastest version.

Run

$ npm update mongoose

Enter fullscreen mode Exit fullscreen mode

Personally I encountered problems with version “^5.8.11” and works with “^5.11.11”.

Discussion (0)

pic
Editor guide