Uniswap / widgets

widgets-uniswap.vercel.app
GNU General Public License v3.0
125 stars 180 forks source link

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

Open Rutvikghaskata opened 1 year ago

Rutvikghaskata commented 1 year ago

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

CT77777 commented 1 year ago

same here

abdullahmehboob20s commented 1 year ago

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 commented 1 year ago

How do we fix this error ??

Rutvikghaskata commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

2.18.0

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

datnguyen-tech commented 1 year ago

i have same issues :((

JasonX-Jones commented 1 year ago

Same issue for me too

PawelPodkalicki commented 1 year ago

Is there a chance to merge a fix?

mvargas33 commented 1 year ago

Same issue here, with 2.52.0 on Vite

lcrpt commented 1 year ago

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 commented 1 year ago

I have this error now after downgrading to 2.18.0 version

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

PriyanshSagar commented 1 year ago

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 commented 1 year ago

Your on point @PriyanshSagar

zubeirom commented 1 year ago

@JFrankfurt @zzmp

PriyanshSagar commented 1 year ago

@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 commented 1 year ago

Hey guys, you could test the following version assign:

"@uniswap/smart-order-router": "3.13.2",
"@uniswap/sdk-core": "3.2.3"
maruhe commented 1 year ago

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