How do I run this project?
Terminal current path
/interface
yarn install
I'm not getting the package to install. How do I get this project running?
I've looked in the issues, but there is no solution.
Steps to run this
- create
__generated__folder in aapps/web/utils/__generated__ - run
yarn install - run
yarn postinstall
Thank you.
but, not working
yarn postinstall
Thank you.
but, not working
yarn postinstall
![]()
Hi, I think this comment will help you, cause it works for me.
https://www.sanghun.xyz/running-uniswap-frontend-locally-for-testnet-environment-en/
git clone https://github.com/Uniswap/interface
cd interface
git fetch --all --tags
git checkout tags/web/5.19.3
mkdir apps/web/src/utils/__generated__ # https://github.com/Uniswap/interface/issues/7631
# create .env.defaults file under project root.
# https://github.com/Uniswap/interface/issues/7678
cat <<EOL > .env.defaults
ALCHEMY_API_KEY='key'
AMPLITUDE_EXPERIMENTS_DEPLOYMENT_KEY='key'
APPSFLYER_API_KEY='key'
APPSFLYER_APP_ID="123"
FIAT_ON_RAMP_API_URL='https://api.uniswap.org'
MOONPAY_API_KEY='key'
MOONPAY_API_URL='https://api.moonpay.com'
MOONPAY_WIDGET_API_URL='https://api.moonpay.com'
INFURA_PROJECT_ID="123"
ONESIGNAL_APP_ID="123"
QUICKNODE_BNB_RPC_URL='https://api.uniswap.org'
SENTRY_DSN='http://sentry.com'
SHAKE_CLIENT_ID="123"
SHAKE_CLIENT_SECRET="123"
SIMPLEHASH_API_KEY='key'
SIMPLEHASH_API_URL='https://api.simplehash.com'
STATSIG_PROXY_URL='https://api.statsig.com'
TEMP_SCANTASTIC_URL='https://api.uniswap.org'
TRADING_API_KEY='key'
TRADING_API_URL='https://api.uniswap.org'
UNISWAP_API_KEY='key'
UNISWAP_API_BASE_URL='https://api.uniswap.org'
UNISWAP_APP_URL='https://app.uniswap.org'
WALLETCONNECT_PROJECT_ID="123"
UNITAGS_API_URL='https://api.uniswap.org/unitags'
FIREBASE_APP_CHECK_DEBUG_TOKEN='token'
EOL
yarn
yarn web start
Steps to run this
1. create `__generated__` folder in a `apps/web/utils/__generated__` 2. run `yarn install` 3. run `yarn postinstall`
Postinstall is automatically run during the second step, so the third step is unnecessary.
Hi, we've recently updated this package to make local development easier as well as updated our contribution guide.
Note that you will need to add the generated folder for now after git cloning the repo: https://github.com/Uniswap/interface/discussions/7718
