Skip to content

TypeError: client.isConnected is not a function #1

@daviskantor

Description

@daviskantor

I get the folllowing error when I run the code in VS Studio and try to connect to MongoDB.

TypeError: client.isConnected is not a function
at MongoBackend.max (/Users/.../node-databases/maxcoin/services/backend/MongoBackend.js:40:14)

Do you have a suggestion for how I can make this code work? It seems that client.isConnected has been discontinued.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions