smart-order-router icon indicating copy to clipboard operation
smart-order-router copied to clipboard

do you have the problem?

Open ChainCoderX opened this issue 1 year ago • 3 comments

wuban@wuban:~/smart-order-router$ ./bin/cli quote --tokenIn 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --tokenOut 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984 --amount 1000 --exactIn --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B --protocols v2,v3 (node:1261712) TSError Plugin: @uniswap/smart-order-router: ⨯ Unable to compile TypeScript: src/providers/token-provider.ts:7:41 - error TS2307: Cannot find module '../types/v3/factories/IERC20Metadata__factory' or its corresponding type declarations.

7 import { IERC20Metadata__factory } from '../types/v3/factories/IERC20Metadata__factory'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

module: @oclif/[email protected] task: toCached plugin: @uniswap/smart-order-router root: /home/wuban/smart-order-router See more details with DEBUG=* (Use node --trace-warnings ... to show where the warning was created) (node:1261712) TSError Plugin: @uniswap/smart-order-router: ⨯ Unable to compile TypeScript: src/providers/token-provider.ts:7:41 - error TS2307: Cannot find module '../types/v3/factories/IERC20Metadata__factory' or its corresponding type declarations.

7 import { IERC20Metadata__factory } from '../types/v3/factories/IERC20Metadata__factory'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

module: @oclif/[email protected] task: toCached plugin: @uniswap/smart-order-router root: /home/wuban/smart-order-router See more details with DEBUG=* › Error: command quote not found

ChainCoderX avatar May 15 '24 05:05 ChainCoderX

same problem

guotie avatar May 28 '24 03:05 guotie

I known, should run

npm run build

first

guotie avatar May 28 '24 03:05 guotie

same here. any updates? Still cannot run even after npm run build

redianmf avatar Oct 02 '24 08:10 redianmf