mongoose TypeError: Schema is not a constructor

后端 未结 0 1753
眼角桃花
眼角桃花 2021-02-12 18:37

I\'ve encountered a strange thing. I have several mongoose models - and in one of them (only in one!) I get this error:

TypeError: Schema is not a constructor


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题