-
Notifications
You must be signed in to change notification settings - Fork 475
[BUG] Cannot read property 'Strategy' of undefined #479
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
Comments
@gugu Do you think this might be related to some TypeScript stuff you've been working on? |
@aloswald Is your codebase written in JavaScript or TypeScript? Can you show how you import/require Your code appears to referencing ` a "default" property on a "_passportSaml" object, but I don't see any properties by that name in our documentation. |
No TypeScript here. Babel, yes. The app is a single code base with an express backend and React frontend.
|
Can you please update import to I can add |
@guru Thank you, that seemed to work. If adding This solved my runtime issue, but I have another issue that is happening on login.
|
@guru Would you rather I open a new issue? |
Are you sure you are using the latest release? The Q library is in the call stack, but we no longer use it. |
Pretty sure. This is part of my
|
Looking at your history. The Q library was removed an hour after 1.4.2 was published. |
Ah, correct. Please try 1.5.0 then, which removes the Q library. |
Unfortunately, I have a new error that is happening on login. This ones a little odd, not sure if this may be a Babel issue or not.
|
Interesting... It does look like from this that we should probably be more specific with our |
I have the same issue... |
I am also getting this on same versions as @mjknight50, just tested. |
on version 1.5.0 getting: |
Added fix for parseStringPromise. parseStringPromise was added in the patch version of xml2js and older installations keep old version |
@aloswald do you install the module from npm or via github? It can happen if module is installed directly from github |
I also have error after upgrade:
|
@mogadanez We plan to fix this in a 2.0 release later today. |
Ah, this broke us too. We locked it to |
The 1.x branch isn't being actively maintained anymore. The 2.x branch has received several updates, even recently. The 3.x branch has just been released. You might try seeing if the newer branches work for you. |
@cjbarth Thanks for the tips. I'll check it out and report back. |
After updating to 1.4.0 (also tried 1.4.1 and 1.4.2) I get the following runtime error:
You can view the code here.
Environment
I don't usually develop in JS so my apologies in advance if this is my mistake.
The text was updated successfully, but these errors were encountered: