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 TS2307: Cannot find module '@celo/utils/src/sign-typed-data-utils'.

See original GitHub issue

When I install "@celo/wallet-walletconnect": "^1.2.0", and try to compile with tsc -b I see the following error.

error TS2307: Cannot find module '@celo/utils/src/sign-typed-data-utils'.

Updating src to lib in the path resolves this.

https://github.com/celo-org/celo-monorepo/blob/7255d9b224299cf7d21bb4073de750fb2af5ab01/packages/sdk/wallets/wallet-walletconnect/src/wc-signer.ts#L2

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
AlexBHarleycommented, May 17, 2021

Sorry @critesjosh can I get a little more info with this? Did you,

  • create a new project
  • yarn add @celo/wallet-walletconnect
  • yarn link

Then try tsc -b? Do you have a repro repository? I’ve tried pulling master then

  • yarn
  • yarn build
  • cd packages/sdk/wallets/wallet-walletconnect/
  • yarn build

And it works OK.

0reactions
github-actions[bot]commented, Dec 3, 2022

This issue is stale and will be closed in 30 days without activity

Read more comments on GitHub >

github_iconTop Results From Across the Web

tsc throws `TS2307: Cannot find module` for a local file
ts(5,20): error TS2307: Cannot find module 'components/button'. It complains about all imports of local files, like the following: import Counter from ' ...
Read more >
TS2307: Cannot find module #10463 - microsoft/TypeScript
Compilation throws error "TS2307: Cannot find module ". Then running the generated .js (on node) works as expected.
Read more >
"TS2307: Cannot find module" error displayed while project ...
"TS2307: Cannot find module" error displayed while project could be built without problems. What steps will reproduce the problem? 1. Create a TypeScript...
Read more >
error ts2307: cannot find module or its corresponding type ...
I am setting up a NodeJS + Mysql + Typescript + Docker app, but have a problem when I try to include the...
Read more >
How to solve "error TS2307: Cannot find module 'angular ...
How to solve "error TS2307: Cannot find module 'angular'" issue in development using sharpeoint page framework. In the WebPart.ts file.
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