Unknown Authentication Facebook Strategy - PassportJS
问题 I've a issue with PassportJS. It displays this message and I can't understand where I'm doing wrong: {"message":"Unknown authentication strategy \"facebook\"","error":{}} GET /auth/facebook 500 0.505 ms - 69 Credentials are hardcoded for simplicity and learning purpose. Passport and Passport-Facebook are installed. auth/index.js var passport = require('passport'); var FacebookStrategy = require('passport-facebook').Strategy; var User = require('../modules/user'); module.exports = function(){