Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do you have the problem? #577

Open
wade-liwei opened this issue May 15, 2024 · 3 comments
Open

do you have the problem? #577

wade-liwei opened this issue May 15, 2024 · 3 comments

Comments

@wade-liwei
Copy link

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/config@1.18.3
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/config@1.18.3
task: toCached
plugin: @uniswap/smart-order-router
root: /home/wuban/smart-order-router
See more details with DEBUG=*
› Error: command quote not found

@guotie
Copy link

guotie commented May 28, 2024

same problem

@guotie
Copy link

guotie commented May 28, 2024

I known, should run

npm run build

first

@redianmf
Copy link

redianmf commented Oct 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants