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

Example does not work! #78

Open
ElShapovalov opened this issue Apr 25, 2024 · 4 comments
Open

Example does not work! #78

ElShapovalov opened this issue Apr 25, 2024 · 4 comments

Comments

@ElShapovalov
Copy link

I try to run Uniswap example and always get error in browser console:
Uncaught ReferenceError: Browser is not defined
at Va (encode.js:49:1)

Can anybody help me?

@cypruspound
Copy link

I have the same issue !

Initially i have installed @uniswap/widget to check it out but later on i changed my mind i decided not to work with it so i removed it ... i changed webpack 5 to 4 version and then again went back to 5 because i had several issues which i have resolved
however i still have the same error ...
I saw that another package that I am using [smart-order-router] also depends on "brotli": "^1.3.3",
unfortunately i cannot remove smart-order-router .

the error in brotli is in this line : exports.compress = require('./compress');

@robertxd30
Copy link

I have same issue

@upendradhamaladev
Copy link

I have got the same issue too. Stuck on this since a week. I tried different solutions but none of them worked.

image

@janndriessen
Copy link

I try to run Uniswap example and always get error in browser console: Uncaught ReferenceError: Browser is not defined at Va (encode.js:49:1)

Can anybody help me?

Probably related to this: Uniswap/smart-order-router#484

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

5 participants