Open Yug-Damon opened 1 year ago
Please provide a minimal reproducible example. Doing so will help us diagnose your issue. It should be the bare minimum code needed to trigger the issue, and easily runnable without any changes or extra code.
You may use a GitHub repository to host the code if it is too much to fit in a code block (or two).
Hello, same error for me and here
@melissakintz yes that's actually a post of mine, I'm gonna mark it as resolved and link the post to this ticket
We had the same problem and applied the patch mentioned above using a nifty NPM module called patch-package to persist it across our development team.
if(msg instanceof SearchEntry) { return sendResult('searchEntry', msg) } else if(msg instanceof SearchReference) { return sendResult('searchReference', msg)
This package unmodified works on Node18 on Windows but when we deploy to our node image running on ocp 3.11 on a container the issue the OP occurs.
By applying the fix our NextAuth works flawlessly. I suggest perhaps taking a closer look at this issue.
EDIT: My environment osixia/openldap + ldapjs:3.0.5 the error is happening on a LDAP SEARCH query
File
./lib/client/client.js
Line 1260For some reason event[0] is undefined and therefore my app crashes on the toLowerCase call
I suggest to replace the if block with:
I think it's a terrible idea to base decision on constructor.name value. I've struggled 2.5 days to figure it out.