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

LateError (LateInitializationError: Field '_instance@166265524' has not been initialized.) #98

Open
likeablegeek opened this issue Dec 21, 2023 · 1 comment

Comments

@likeablegeek
Copy link

Hi ...

I'm trying to use quick_usb to build a MacOS app. I am trying to follow this example code you provide:

await QuickUsb.init();
// ...
var deviceList = await QuickUsb.getDeviceList();
// ...
await QuickUsb.exit();

However, on the first line (await QuickUsb.init();) I get the following exception thrown:

LateError (LateInitializationError: Field '_instance@166265524' has not been initialized.)

Are there suggestions on how to resolve and/or debug this issue?

@gtminch
Copy link

gtminch commented Apr 4, 2024

I get the same error on Windows when using 0.4.0. It didn't happen with version 0.3.1.

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