Heroku app crashes after MongoDB updated to 3.0

前端 未结 2 971
眼角桃花
眼角桃花 2020-12-04 02:14

MongoDB just forced an update on my Heroku server today from 2.6 to 3.0

Now my app crashes shortly after startup with the error:

2015-10-01T10:22:27.         


        
相关标签:
2条回答
  • 2020-12-04 02:54

    You're using mongoose 3.8.19. The latest version of mongoose is 4.1.9. I would start there:

    $ npm install --save --save-exact mongoose@4.1.9
    
    0 讨论(0)
  • 2020-12-04 03:05

    I had the exact same problem I did all of the above and nothing worked. Only until I deleted mongoose out of my package.json and reinstalled it thats when it worked

    0 讨论(0)
提交回复
热议问题