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]: Unable to import anything from @ledgerhq/hw-app-btc #8678

Open
mcmxcdev opened this issue Dec 12, 2024 · 0 comments
Open

[Bug]: Unable to import anything from @ledgerhq/hw-app-btc #8678

mcmxcdev opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage

Comments

@mcmxcdev
Copy link

Impacted Library name

@ledgerhq/hw-app-btc

Impacted Library version

10.4.3

Describe the bug

import AppBtc from "@ledgerhq/hw-app-btc" from the simple example on https://github.com/LedgerHQ/ledgerjs#basic-gist encounters the following error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '<home>/node_modules/@ledgerhq/hw-app-btc/lib-es/BtcNew' imported from <home>/node_modules/@ledgerhq/hw-app-btc/lib-es/Btc.js
    at finalizeResolution (node:internal/modules/esm/resolve:257:11)
    at moduleResolve (node:internal/modules/esm/resolve:913:10)
    at defaultResolve (node:internal/modules/esm/resolve:1037:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)
    at ModuleJob._link (node:internal/modules/esm/module_job:132:49)

Expected behavior

Expect a simple import to not break the application.

Additional context

No response

@mcmxcdev mcmxcdev added bug Something isn't working libraries Impacts the Libraries triage In need of triage labels Dec 12, 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