interface icon indicating copy to clipboard operation
interface copied to clipboard

Building Issues & Some other known issues

Open OwenSanzas opened this issue 1 year ago • 0 comments

For all those ones who have problems on MacOS or Linux or Linux on a VM, there are 4 known problems which make this Interface really hard to be customized:

Problem 1&2 (Solved): If you have building issue, like a failed yarn or yarn install or yarn postinstall. Just check these 3 commits on my forked repo:

Don't forget to give me a star if this can solve your problems.

Clarification: All these commits are gathered by me from some pull requests in this repo made by other developers. It is hard for me to find them all again so I use my forked repo here.

  1. https://github.com/OwenSanzas/UniSwap_Interface_Dev/commit/ab37b7997b394b84488f0a8b46b34fd8fbdf9d9b
  2. https://github.com/OwenSanzas/UniSwap_Interface_Dev/commit/03c8049168ba16bfa41b1f42d5954a31382a818c
  3. https://github.com/OwenSanzas/UniSwap_Interface_Dev/commit/5a20024b3590bae9babfc278b3eac3116f16ac62

They work well on fixing most of people's building issue. I took several hours to fix it.

Problem 3 (unsolved): After a successful build, you may run yarn web start in the directly or yarn start in /apps/web. This will bring you to run web app locally on localhost:3000. All functions of your web app should be the same as those of https://app.uniswap.org/

The problem is that yarn web start and yarn start are dramatically slow! My PC is a relatively nice one but it always takes me more than 45 secs to load the pages. However, if you check https://app.uniswap.org/, the official web pages are loaded instantly. I am not a frontend guy and I don't have any prior experience on web app dev. Can Somebody tell me why this happens and how to fix it?

Problem 4: After running our web app on localhost:3000 or <IPV4>:3000, we can check the web page using our PC and it works well. However, when using your mobile devices to load the page, it will show:

86409b8cedc7eded550a30a81d2c0ec

OwenSanzas avatar Aug 29 '24 19:08 OwenSanzas