do you have the problem?
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
same problem
I known, should run
npm run build
first
same here. any updates? Still cannot run even after npm run build