DEV Community


this.$__path is not a function mongoose error

boobo94 profile image Bogdan Alexandru Militaru Originally published at 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.


$ 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)

Editor guide