Skip to content

whenevr i am executing i get this error .please share if u had faced this issue #1

@prashantkumar-12

Description

@prashantkumar-12

TypeError: OAuth2Strategy requires a clientID option
at Strategy.OAuth2Strategy (C:\Users\pk664\Desktop\lost and box\TheLostBox-master\node_modules\passport-oauth2\lib\strategy.js:86:34)
at new Strategy (C:\Users\pk664\Desktop\lost and box\TheLostBox-master\node_modules\passport-google-oauth20\lib\strategy.js:52:18)
at Object. (C:\Users\pk664\Desktop\lost and box\TheLostBox-master\config\passport.js:22:14)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (C:\Users\pk664\Desktop\lost and box\TheLostBox-master\app.js:30:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions