export 'ChainId' (imported as 'ChainId') was not found in '@uniswap/smart-order-router'
Opened this issue Β· 20 comments
I'm using @uniswap/widgets in reactjs and facing this issue - export 'ChainId' (imported as 'ChainId') was not found in '@uniswap/smart-order-router'
same here
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
How do we fix this error ??
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.
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
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?
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
2.18.0
Thanks. It is working, but this version some issues.
i have same issues :((
Same issue for me too
Is there a chance to merge a fix?
Same issue here, with 2.52.0 on Vite
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
I have this error now after downgrading to 2.18.0 version
"Token list failed validation: must NOT have additional properties"
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?
Your on point @PriyanshSagar
@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/
Hey guys, you could test the following version assign:
"@uniswap/smart-order-router": "3.13.2",
"@uniswap/sdk-core": "3.2.3"
hey guys, any update here? would be great to be able to use the widget outside mainnet also