Uniswap / smart-order-router

GNU General Public License v3.0
406 stars 404 forks source link

package.json doesn't support bash #62

Open meaquasukisuki opened 2 years ago

meaquasukisuki commented 2 years ago

details:

> @uniswap/smart-order-router@2.5.15 build
> run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*

> @uniswap/smart-order-router@2.5.15 compile-v2-types
> npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@uniswap/?(v2-core|v2-periphery)/build/*UniswapV2*.json'

> @uniswap/smart-order-router@2.5.15 compile-v3-types
> npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'

> @uniswap/smart-order-router@2.5.15 compile-router
> npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/swap-router-contracts/artifacts/contracts/**/*.json'

> @uniswap/smart-order-router@2.5.15 compile-external-types
> npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'

'v3-periphery)' is not recognized as an internal or external command,
operable program or batch file.
'v2-periphery)' is not recognized as an internal or external command,
operable program or batch file.
ERROR: "compile-v3-types" exited with 255.

Have tried clear cache and reinstall node_modules,but not working.

Could anybody help me out? Thanks a lot !

willpote commented 2 years ago

Are you using bash? Could you try in zsh?

meaquasukisuki commented 2 years ago

Are you using bash? Could you try in zsh?

Thanks. Switching from git bash to zsh solved this problem.

willpote commented 2 years ago

Great, going to leave this issue open as it would be good for us to support bash