DEV Community

Bogdan Alexandru Militaru
Bogdan Alexandru Militaru

Posted on • Originally published at boobo94.github.io on

this.$__path is not a function mongoose error

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”.

Top comments (0)