vue-express-mongo-boilerplate
vue-express-mongo-boilerplate copied to clipboard
first run problems
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?
@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`