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 · 2 comments
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
@contribution-hub
Copy link

Hello @nop33 ,

We apologize for the delayed response. Please rest assured that our team is working diligently to address your request.

To complete your request, kindly visit the official Decentralized Dapp Protocol and follow the outlined steps. Alternatively, you can report this issue to an agent for assistance via the Decentralized Portal.

Note: Click the chat button on the portal to initiate a conversation with an agent for further support.

@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.

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

2 participants