---
title: "Discussion on \"MongoStore cannot be invoked without 'new'\" | Hashnode"
description: "Discussion on \"MongoStore cannot be invoked without 'new'\". When updating an old project I got this error, plus some deprecated warnings. The project was just an old practice project that uses Mongodb, Mongoose, Connect-Mongo and Express.\nI did some research and came across these pages:\nhttps://mongoosejs.com..."
url: "https://hashnode.com/posts/mongostore-cannot-be-invoked-without-new/664a0381fd356aeabf134a81"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [MongoStore cannot be invoked without 'new'](https://diaanedev.hashnode.dev/mongostore-cannot-be-invoked-without-new?utm_source=hashnode&utm_medium=feed)

When updating an old project I got this error, plus some deprecated warnings. The project was just an old practice project that uses Mongodb, Mongoose, Connect-Mongo and Express. I did some research and came across these pages: https://mongoosejs.com...

May 19, 2024 · 2 min read · diaanedev.hashnode.dev  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#mongoose](https://hashnode.com/tag/mongoose)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#express](https://hashnode.com/tag/express)

## Written by

[Dianne De Jesus](https://hashnode.com/@doncellanerdy)

@doncellanerdy

  
[View profile](https://hashnode.com/@doncellanerdy)

always learning

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
