Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'successRedirect' of undefined #25

Open
autoferrit opened this issue Aug 20, 2014 · 1 comment
Open

Cannot read property 'successRedirect' of undefined #25

autoferrit opened this issue Aug 20, 2014 · 1 comment

Comments

@autoferrit
Copy link

I just setup geddy based on the guide. all i have generated are a book, and user scaffold. I then run geddy gen auth and all worked fine. But once I ran geddy to start the app, i get the below out put:

[Wed, 20 Aug 2014 05:12:08 GMT] INFO Creating 1 worker process.

/www/projects/shawn/newApp/app/helpers/passport/actions.js:4
  , successRedirect = config.successRedirect
                            ^
TypeError: Cannot read property 'successRedirect' of undefined
  at Object.<anonymous> (/www/projects/shawn/newApp/app/helpers/passport/actions.js:4:29)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/www/projects/shawn/newApp/app/helpers/passport/index.js:4:19)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/www/projects/shawn/newApp/app/controllers/auth.js:1:78)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at [object Object].module.exports.init (/usr/local/lib/node_modules/geddy/lib/init/controller.js:62:14)
  at initItem (/usr/local/lib/node_modules/geddy/lib/init/index.js:32:16)
  at doIt (/usr/local/lib/node_modules/geddy/lib/init/model.js:168:9)
  at done (/usr/local/lib/node_modules/geddy/lib/init/model.js:93:9)
  at [object Object].module.exports.loadAdapterForModel (/usr/local/lib/node_modules/geddy/lib/init/model.js:109:16)
  at doIt (/usr/local/lib/node_modules/geddy/lib/init/model.js:164:14)
  at done (/usr/local/lib/node_modules/geddy/lib/init/model.js:93:9)
  at [object Object].module.exports.loadAdapterForModel (/usr/local/lib/node_modules/geddy/lib/init/model.js:109:16)
  at doIt (/usr/local/lib/node_modules/geddy/lib/init/model.js:164:14)
  at done (/usr/local/lib/node_modules/geddy/lib/init/model.js:93:9)
  at /usr/local/lib/node_modules/geddy/lib/init/model.js:101:20
  at [object Object]._onTimeout (/usr/local/lib/node_modules/geddy/node_modules/model/lib/adapters/base_adapter.js:58:7)
  at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

[Wed, 20 Aug 2014 05:12:09 GMT] ERROR Worker 41726 died.
@autoferrit autoferrit changed the title Auth doesnt work Cannot read property 'successRedirect' of undefined Aug 20, 2014
@CyborTronik
Copy link

I got the same error after publishing the project to git and opened it on other machine and runned npm install -d
Any updates on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants