error: while ln logout route using passport local mongoose [closed]

Error: req#logout requires a callback function
    at IncomingMessage.req.logout.req.logOut (C:UsersHpDesktopProjectSecretsnode_modulespassportlibhttprequest.js:65:44)
    at C:UsersHpDesktopProjectSecretsapp.js:72:7
    at Layer.handle [as handle_request] (C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterlayer.js:95:5)
    at next (C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterroute.js:144:13)
    at Route.dispatch (C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterroute.js:114:3)
    at Layer.handle [as handle_request] (C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterlayer.js:95:5)
    at C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterindex.js:284:15
    at Function.process_params (C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterindex.js:346:12)    
    at next (C:UsersHpDesktopProjectSecretsnode_modulesexpresslibrouterindex.js:280:10)
    at SessionStrategy.strategy.pass (C:UsersHpDesktopProjectSecretsnode_modulespassportlibmiddlewareauthenticate.js:346:9)