question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error TS7016: Could not find a declaration file for module '@ledgerhq/hw-app-eth'

See original GitHub issue

getting this issue when compiling my ts prohject with latest ethers :

node_modules/@ethersproject/hardware-wallets/lib/ledger.d.ts:2:17 - error TS7016: Could not find a declaration file for module '@ledgerhq/hw-app-eth'. 'C:/dev/wighawag/hardhat-deploy/node_modules/@ethersproject/hardware-wallets/node_modules/@ledgerhq/hw-app-eth/lib/Eth.js' implicitly has an 'any' type.
  Try `npm install @types/ledgerhq__hw-app-eth` if it exists or add a new declaration (.d.ts) file containing `declare module '@ledgerhq/hw-app-eth';`

2 import Eth from "@ledgerhq/hw-app-eth";
                  ~~~~~~~~~~~~~~~~~~~~~~

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
ricmoocommented, Apr 9, 2021

There are a bunch of issues right now with the LedgerSigner. I’m working on them and hoping to have a solution soon.

it’s a bit more complicated, as I’m trying to break the package out of the monorepo, since it has dependencies that also don’t play well with the CI environments.

Stay tuned. 😃

1reaction
sshmaximecommented, Oct 4, 2021

Any update ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find a declaration file for module 'module-name'. ...
Error TS7016 (TS) Could not find a declaration file for module 'react-region-select'. 'C:/Repo/node_modules/react-region-select/lib/RegionSelect.js' implicitly ...
Read more >
How to fix error TS7016: Could not find a declaration file for ...
Try `npm install @types/XYZ` if it exists or add a new declaration (.d. · declare module 'XYZ';. Lastly, you also need to add...
Read more >
Fixing the TS7016 Error | Atomist Blog
Could not find declaration file -- How do you get past the TS7016? This article highlights the eight best and worst fixes.
Read more >
Could not find a declaration file for module 'history' #12153
Windows 11 64bit I just did a fresh install of this app and npm start threw the following error: ERROR in src/index.tsx:4:38 TS7016:...
Read more >
Error: Could not find a declaration file for module - YouTube
Fix error : Could not find a declaration file for module ... implicitly has an 'any' type.Try npm install library-name if it exists...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found