I can expand on this (I’m stljeff1’s team-mate). We pushed our apostrophe project to git, and on my machine, I’ve cloned the repo, did npm install, have all the req’d software (mongo, imagemagick, etc) - but when I attempt to run either:
node app.js apostrophe-users:add admin admin
or
node app.js
I get the output of:
`WARNING: No session secret provided, please set the secret property of the session property of the apostrophe- express module in app.js
WARNING: no versions of the script editor exist, but you are pushing that asset in the apostrophe-global module.
WARNING: no versions of the stylesheet user exist, but you are pushing that asset in the apostrophe-global module.
Debugging**********************************
undefined
/home/ubuntu/workspace/blahblah/site/node_modules/apostrophe/lib/modules/apostrophe-areas/lib/cursor.js:22
req.areasLoadedFor = req.areasLoadedFor || {};
TypeError: Cannot read property areasLoadedFor of undefined
at after (/home/ubuntu/workspace/blahblah/site/node_modules/apostrophe/lib/modules/apostrophe-areas/lib/cursor.js:22:33)
at self.afters.(anonymous function) (/home/ubuntu/workspace/blahblah/site/node_modules/apostrophe/lib/modules/apostrophe-docs/lib/cursor.js:169:18)`
If I create a new apostrophe site, it works no problem.
Any thoughts on what steps we might need to take? Do we have to export a copy of the database from my teammate’s machine and import it on mine?