我的package.json文件中有:
"scripts": {
"compile-contract-types": "yarn compile-external-abi-types && yarn compile-v3-contract-types",
"compile-external-abi-types": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'",
"compile-v3-contract-types": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",当我尝试运行这个程序时,我总是有这个错误(我在窗口上),有什么想法吗?
typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json' is not recognized as an internal command发布于 2022-08-04 21:08:52
终于找到了..。用'./node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'取代./node_modules/@uniswap/v3-core/artifacts/contracts/**/*.json
https://stackoverflow.com/questions/73100669
复制相似问题