Fwd: Everyauth Express Helpers with Express 3.0.0alpha4

5 views
Skip to first unread message

Amjad

unread,
May 29, 2012, 7:30:32 AM5/29/12
to microcommunity
This is what "bleeding edgy" technology mean...

---------- Forwarded message ----------
From: pissedpat <ka...@katwilson.co.uk>
Date: Tue, May 29, 2012 at 12:15 PM
Subject: Re: Everyauth Express Helpers with Express 3.0.0alpha4
To: ever...@googlegroups.com


Well i have learned that this is because express 3 has changed. and the npm install (to date) of everyauth is not compatible to express 3.

so i found this link which shows you how to migrate your helper to express 3.


at the bottom of the page is says install the every auth express 3 version,but it dont work 

you could check out the branch on git hub and install that or just migrate. 

I just re wrote my soudcloud login by hand so i did not need to use everyauth any more,  

hope this helps.

happy coding.


On Tuesday, 29 May 2012 09:13:45 UTC+1, al-Amjad Tawfiq Isstaif wrote:
I'm trying to use Everyauth Express Helpers with Express 3.0.0alpha4.
 everyauth.helpExpress(app);
But I get the following error:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'dynamicHelpers'
    at Object.helpExpress (/home/amjad/projects/microcommunity/node_modules/everyauth/lib/expressHelper.js:30:7)
    at Object.<anonymous> (/home/amjad/projects/microcommunity/app.js:110:11)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Array.0 (module.js:479:10)
    at EventEmitter._tickCallback (node.js:192:40)

When I switch to an older version of Express (exactly 2.5.9), this error never shows up.

Is the problem really from the new version of Express?

Many thanks in advance for help!

Amjad

Reply all
Reply to author
Forward
0 new messages