liamcurry / passport-steam

Steam (OpenID) authentication strategy for Passport and Node.js.
MIT License
349 stars 104 forks source link

Cannot find modules #83

Closed ionpopsoi closed 6 years ago

ionpopsoi commented 6 years ago
`var passport = require('passport')
  , util = require('util')
  , session = require('express-session')
  , SteamStrategy = require('../../').Strategy
  , authRoutes = require('./routes/auth');`

But gives me this error

module.js:540
    throw err;
    ^

Error: Cannot find module '../../'

i alredy did npm install

ionpopsoi commented 6 years ago

I alredy find the problem if someone have the same error just check you lib/passport-steam folder changeit to. , SteamStrategy = require('./lib/passport-steam').Strategy