examples icon indicating copy to clipboard operation
examples copied to clipboard

Example does not work!

Open elshapovalov opened this issue 1 year ago • 4 comments

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?

elshapovalov avatar Apr 25 '24 19:04 elshapovalov

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');

cypruspound avatar Apr 29 '24 15:04 cypruspound

I have same issue

robertxd30 avatar May 14 '24 19:05 robertxd30

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

image

upendradhamaladev avatar May 16 '24 04:05 upendradhamaladev

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: https://github.com/Uniswap/smart-order-router/issues/484

janndriessen avatar Jul 26 '24 10:07 janndriessen