JavaScript GitHub Authentication

reggie Williams
reggie Williams
Treehouse Staff

Error with mongo files?

My code is exactly the same as the video file and I'm getting this error :

`const Store = connect.Store || connect.session.Store ^

TypeError: Cannot read property 'Store' of undefined ` it says the error is in the node_modules/connect-mongo/src/index.js file

I'm getting the same error and haven't been able to find the solution??