Skip to content

npm run dev and npm start both fail on TypeError: MongoStore.create is not a function #23

@maxwellmckinnon

Description

@maxwellmckinnon
app.js:76
    store: MongoStore.create({ mongoUrl: process.env.mongoURI }),
                      ^

TypeError: MongoStore.create is not a function

Steps to reproduce

git clone git@github.com:bradtraversy/storybooks.git .
fill in config.env details
npm install
npm run dev # or `npm start` hits the same issue

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