smart-order-router
smart-order-router copied to clipboard
package.json doesn't support bash
- I'm submitting a ... [ ] question about how to use this project
npm run build
keeps failing. It says
'v3-periphery)' is not recognized as an internal or external command,
operable program or batch file.
details:
> @uniswap/[email protected] build
> run-p compile-v3-types compile-v2-types compile-router compile-external-types && run-p build:*
> @uniswap/[email protected] compile-v2-types
> npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@uniswap/?(v2-core|v2-periphery)/build/*UniswapV2*.json'
> @uniswap/[email protected] compile-v3-types
> npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'
> @uniswap/[email protected] compile-router
> npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/swap-router-contracts/artifacts/contracts/**/*.json'
> @uniswap/[email protected] 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 !
Are you using bash? Could you try in zsh?
Are you using bash? Could you try in zsh?
Thanks. Switching from git bash to zsh solved this problem.
Great, going to leave this issue open as it would be good for us to support bash