Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

first run problems #122

Open
boulabiar opened this issue Nov 2, 2018 · 1 comment
Open

first run problems #122

boulabiar opened this issue Nov 2, 2018 · 1 comment

Comments

@boulabiar
Copy link

Hi,

I tried running but I have many error messages related to scss.
Then I get this
Error: req.flash() requires sessions

The full error is here
https://pastebin.com/n6URnP8h

Is anyone able to run this without modifications?

@CodyCodeman
Copy link
Contributor

@boulabiar I got this error about a month ago when I was converting this project to use Sequelizer. I believe it was because the session module was unable to access the sessions table ( in your case collection ) for the database.

I just cloned, did a yarn install and a yarn dev and it's working for me. You should have the following collections in your mongo db

$ mongo
MongoDB shell version v3.6.3
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.6.3
> use boilerplate-dev;
switched to db boilerplate-dev
> show collections;
agendaJobs
devices
identitycounters
posts
sessions
users`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants