Building Issues & Some other known issues
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.
- https://github.com/OwenSanzas/UniSwap_Interface_Dev/commit/ab37b7997b394b84488f0a8b46b34fd8fbdf9d9b
- https://github.com/OwenSanzas/UniSwap_Interface_Dev/commit/03c8049168ba16bfa41b1f42d5954a31382a818c
- 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 yarn start in 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: