【发布时间】:2021-06-17 18:26:19
【问题描述】:
我已经从 git 克隆了 uniswap-interface。我运行yarn start 命令并收到以下输出:
yarn run v1.22.10
$ yarn compile-contract-types && react-scripts start
$ yarn compile-external-abi-types && yarn compile-v3-contract-types
$ typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'
Successfully generated 2 typings!
$ typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'
'v3-periphery)' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
我错过了什么?
【问题讨论】:
-
这似乎是您的交互式 shell (cli) 如何解释表示
'./node_modules/@uniswap/?(v3-core|v3-periphery)/...'的位的问题。你能告诉我们你在哪里找到那个命令(最后一个,失败了)吗?
标签: reactjs shell blockchain yarnpkg