Example does not work!
ElShapovalov opened this issue · 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?
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');
I have same issue
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