Closed shashwat0802 closed 4 years ago
Try adding this line
const app = express();
before the app.use() line.
@Shawn1912 thanks for your response but I found out what the error was and thought of mentioning it here I mistakenly installed 'express-sessions' which is the wrong package it is 'express-session' instead without the s
I am running into the this error shown in the image I literally copy pasted the whole code and still I am running into this error