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

export 'ChainId' (imported as 'ChainId') was not found in '@uniswap/smart-order-router' #600

Open
Rutvikghaskata opened this issue Jun 23, 2023 · 20 comments · May be fixed by #605
Open

export 'ChainId' (imported as 'ChainId') was not found in '@uniswap/smart-order-router' #600

Rutvikghaskata opened this issue Jun 23, 2023 · 20 comments · May be fixed by #605
Labels
bug Something isn't working

Comments

@Rutvikghaskata
Copy link

Rutvikghaskata commented Jun 23, 2023

I'm using @uniswap/widgets in reactjs and facing this issue - export 'ChainId' (imported as 'ChainId') was not found in '@uniswap/smart-order-router'

@Rutvikghaskata Rutvikghaskata added the bug Something isn't working label Jun 23, 2023
@CT77777
Copy link

CT77777 commented Jun 23, 2023

same here

@abdullahmehboob20s
Copy link

Same issue for me too. For now I have used iframe one. But iframe doesn't allow customizations. Uniswap team should quickly fix this error

@USER234587ygf
Copy link

How do we fix this error ??

@Rutvikghaskata
Copy link
Author

How do we fix this error ??

I've used old version of uniswap widget and it's working fine for me and it will working fine for you as well so please use this version of package for now - @uniswap/widgets": "2.18.0, and once they will fix issue from their side then we can use latest version.

Please do not use this @uniswap/widgets: "^2.18.0" so please make sure You will use without ^ version.

@USER234587ygf
Copy link

How do we fix this error ??

I've used old version of uniswap widget and it's working fine for me and it will working fine for you as well so please use this version of package for now - @uniswap/widgets": "2.18.0, and once they will fix issue from their side then we can use latest version.

Please do not use this @uniswap/widgets: "^2.18.0" so please make sure You will use without ^ version.

Thanks ☺️ 🙏

@CT77777
Copy link

CT77777 commented Jun 27, 2023

How do we fix this error ??

I've used old version of uniswap widget and it's working fine for me and it will working fine for you as well so please use this version of package for now - @uniswap/widgets": "2.18.0, and once they will fix issue from their side then we can use latest version.

Please do not use this @uniswap/widgets: "^2.18.0" so please make sure You will use without ^ version.

hey bro, may I know have u ever try this widget on the forked ethereum mainnet at localhost?

@Rutvikghaskata
Copy link
Author

How do we fix this error ??

I've used old version of uniswap widget and it's working fine for me and it will working fine for you as well so please use this version of package for now - @uniswap/widgets": "2.18.0, and once they will fix issue from their side then we can use latest version.
Please do not use this @uniswap/widgets: "^2.18.0" so please make sure You will use without ^ version.

hey bro, may I know have u ever try this widget on the forked ethereum mainnet at localhost?

In my localhost, I'm using widget with gorli testnet network

@abdullahmehboob20s
Copy link

2.18.0

Thanks. It is working, but this version some issues.

@datnguyen-tech
Copy link

i have same issues :((

@JasonX-Jones
Copy link

Same issue for me too

m-pilarczyk added a commit to m-pilarczyk/widgets that referenced this issue Jun 30, 2023
@m-pilarczyk m-pilarczyk linked a pull request Jun 30, 2023 that will close this issue
@PawelPodkalicki
Copy link

Is there a chance to merge a fix?

@mvargas33
Copy link

Same issue here, with 2.52.0 on Vite

@lcrpt
Copy link

lcrpt commented Jul 13, 2023

Same issue, I dont understand how a new version of the package can generate new dependencies errors, and we must downgrade to make it work

@lcrpt
Copy link

lcrpt commented Jul 13, 2023

I have this error now after downgrading to 2.18.0 version

"Token list failed validation: must NOT have additional properties"

@PriyanshSagar
Copy link

I dont undesrtand why they can patch this bug. It been 4-5 weeks and m-pilarczyk has opened a PR for the fix which they wont merge. Bloody ridiculous. i think i might have to stop using their library and find an alternative. any recommendations on what we can do?

@zubeirom
Copy link

zubeirom commented Jul 13, 2023

Your on point @PriyanshSagar

@zubeirom
Copy link

@JFrankfurt @zzmp

@PriyanshSagar
Copy link

@zubeirom your right if they are providing a service then dont leave us hanging. The person responsible for writing the code on the smart-order-router is https://github.com/mikeki he worte the code with this bug 2 days before we all started experiencing the issue. hes currently on holiday and ive found his email and social media, tried messaging him but he wont reply maybe you guys can try he works at uniswap https://www.linkedin.com/in/miguelcervera/

@aseaday
Copy link

aseaday commented Jul 19, 2023

Hey guys, you could test the following version assign:

"@uniswap/smart-order-router": "3.13.2",
"@uniswap/sdk-core": "3.2.3"

@maruhe
Copy link

maruhe commented Sep 4, 2023

hey guys, any update here? would be great to be able to use the widget outside mainnet also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.