passport.authenticate is not a function error handling code example Example: TypeError: passport.use is not a function TypeError: passport.use is not a function