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.

Cannot find module 'web3uikit' or its corresponding type declarations.

See original GitHub issue

Hey, I just installed web3uikit on a fresh project and I am getting following error.

Cannot find module 'web3uikit' or its corresponding type declarations.ts(2307)

my code

import { ConnectButton } from "web3uikit";
export default function Header() {
    return <div></div>;
}

Here what I am using

"dependencies": {
    "moralis": "^1.9.1",
    "next": "12.2.3",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-moralis": "^1.4.0",
    "web3uikit": "^1.0.2"
  },

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
AbhinavMVcommented, Jul 30, 2022

Hey @zahraha97 , @adriadrop TY for using the kit.

The web3uiKit monorepo is now live please import the slices of the repo you need as so

For all web3 components like connect wallet, Native Balance, etc… yarn add @web3uikit/web3

For all core components like button, input etc… yarn add @web3uikit/core

For all icons yarn add @web3uikit/icons

3reactions
AbhinavMVcommented, Jul 23, 2022

Hey @sanjaydefidev TY for using the kit ❤️

Could you change web3uikit version to 0.1.170 in your package.json We are working on monorepo and it has some publish issues right now we are trying to fix it. Will update soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

web3uikit - npm
Start using web3uikit in your project by running `npm i ... TypeScript icon, indicating that this package has built-in type declarations.
Read more >
Cannot find module web3 - Stack Overflow
I am unsure why node is looking for a 'lib' folder when all the web3 packages in node_modules have 'src' folders. In case...
Read more >
Cannot find module 'web3' in node console · Issue #2476
The described behavior is working in my environment and it looks like a support problem. Could you add a URL to a GitHub...
Read more >
cannot find module 'react-router-dom' or its corresponding ...
Hey, I just installed web3uikit on a fresh project and I am getting following error. Cannot find module 'web3uikit' or its corresponding type...
Read more >
Web3 UI Kit for Dapp project - Javascript - Moralis Forum
You don't need to use Web3UIKit but it's a good place to get started as it covers authenticating and has lots of useful...
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