Skip to content

options.authProvider must be an instance of AuthProvider #6

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

Open
prad9 opened this issue Sep 25, 2021 · 4 comments
Open

options.authProvider must be an instance of AuthProvider #6

prad9 opened this issue Sep 25, 2021 · 4 comments

Comments

@prad9
Copy link

prad9 commented Sep 25, 2021

Trying to connect to Keyspaces in region ap-southeast-2 using sigv4 node driver plugin but for some reason during the client initialization it throws error saying "options.authProvider must be an instance of AuthProvider"

npm: 6.14.11
node: 14.15.5
typscript: 4.4.3

Code sample looks like this:
image

@bhouse99
Copy link
Contributor

We are investigating the issue. Thanks for bringing this to our attention.

@SBD580
Copy link

SBD580 commented May 29, 2022

We are investigating the issue. Thanks for bringing this to our attention.

Any update?

@bhoudu
Copy link

bhoudu commented Apr 17, 2023

Any update?

@bhoudu
Copy link

bhoudu commented Apr 17, 2023

For those who wonders how to fix it, you can set explicit version of cassandra-driver for transitive dependencies in nodejs with "resolutions" then check you have just 1 unique version used in your project (check package-lock or yarn.lock). It should solve the problem.

Still it would be great to upgrade to latest cassandra-driver version as 4.6.3 does not work with 4.6.4.

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

4 participants