pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.69k stars 3.54k forks source link

[BUG] Type error: Cannot find module 'config/abi/types' or its corresponding type declarations. #3257

Closed tianheng2017 closed 2 years ago

tianheng2017 commented 2 years ago

Failed to compile.

./src/hooks/useContract.ts:47:8 Type error: Cannot find module 'config/abi/types' or its corresponding type declarations.

45 | Multicall, 46 | Weth,

47 | } from 'config/abi/types' | ^ 48 | 49 | // Imports below migrated from Exchange useContract.ts 50 | import { Contract } from '@ethersproject/contracts' error Command failed with exit code 1.

0xjojoex commented 2 years ago

Types are missing on your side. Try yarn run typechain

tianheng2017 commented 2 years ago

Types are missing on your side. Try yarn run typechain

请问下https://nodes.pancakeswap.com 这个服务是仓库哪个仓库?