Skip to content

TypeError: client.isConnected is not a function #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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