Skip to content

Fixed Mongoose open() Deprecation Error that Broke Application #27

@jasperfurniss

Description

@jasperfurniss

Inside server.js (Lines 22-25) it should look like this:

// Connect to our mongo database
mongoose.connect('mongodb://localhost/react-tweets', {
useMongoClient: true,
});

See more here: http://mongoosejs.com/docs/connections.html#use-mongo-client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions