JavaScript GitHub Authentication

reggie mikel
reggie mikel
Full Stack JavaScript Techdegree Student 17,077 Points

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 7,445 Points

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