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

Do anyone get the same error? "TypeError: Adb.createClient is not a function" #432

Open
tiennguyen12g opened this issue Mar 25, 2023 · 4 comments

Comments

@tiennguyen12g
Copy link

Hello everyone, I got this error and i have tried to uninstall and install but cannot solve. If you have experience to fix this error please help me.
"dependencies": {
"@devicefarmer/adbkit": "^3.2.3",
}

Thank all you.

@xTheEc0
Copy link

xTheEc0 commented Mar 26, 2023

If you're using ES6 module import, its a little wonky for some reason.
Try

import pkgAdbkit from "@devicefarmer/adbkit";
const { Adb } = pkgAdbkit;
const client = Adb.createClient();

I myself have switched to u4/adbkit https://github.com/UrielCh/adbkit

@tiennguyen12g
Copy link
Author

Hello xTheEc0, is packet u4/adbkit https://github.com/UrielCh/adbkit the same feature with adbkit, i see it is a short document. Thank you

@xTheEc0
Copy link

xTheEc0 commented Mar 26, 2023

It's actually pretty well documented, you just need to know how to read it 😅
Yes, it has the same feature, I think : P

@tiennguyen12g
Copy link
Author

It's actually pretty well documented, you just need to know how to read it 😅 Yes, it has the same feature, I think : P

hi, thank bro.

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