Cannot find module 'web3uikit' or its corresponding type declarations.
See original GitHub issueHey, 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:
- Created a year ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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