JavaScript GitHub Authentication

reggie Williams
STAFF
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

Harold Fich
Harold Fich
Pro Student 8,333 Points

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