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

[Bug]: Electron throws error when importing @ledgerhq/hw-transport-node-hid #8571

Open
nop33 opened this issue Dec 3, 2024 · 1 comment
Open
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage

Comments

@nop33
Copy link

nop33 commented Dec 3, 2024

Impacted Library name

@ledgerhq/hw-transport-node-hid

Impacted Library version

6.29.5

Describe the bug

Electron throws error when importing this package:

App threw an error during load
Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=130 uv=1 armv=8 libc=glibc node=20.18.0 electron=33.2.0
import TransportNodeHid from '@ledgerhq/hw-transport-node-hid'
console.log(TransportNodeHid)

Expected behavior

Not throw an error.

Additional context

No response

@nop33 nop33 added bug Something isn't working libraries Impacts the Libraries triage In need of triage labels Dec 3, 2024
@nop33
Copy link
Author

nop33 commented Dec 5, 2024

I decided to use @ledgerhq/hw-transport-webhid and @ledgerhq/hw-transport-webusb, which resolved my issue.

@LedgerHQ LedgerHQ deleted a comment from contribution-hub Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage
Projects
None yet
Development

No branches or pull requests

1 participant