I’ve setup the Safe UI locally, but whenever I hit the “connect” button to connect my wallet, nothing happens. I am however able to navigate the site, look at other Safe accounts and see live balances.
Here’s what I’ve done on Fedora 40 clean install:
- Install dependencies
- $
sudo dnf install nodejs git -y
- $
sudo dnf config-manager --add-repo https://dl.yarnpkg.com/rpm/yarn.repo
- $
sudo dnf install yarn -y
- $
sudo npm install -g corepack
- $
corepack enable
- $
- Install Brave:
- $
sudo dnf install dnf-plugins-core && sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo && sudo dnf install brave-browser -y
- $
- Clone and setup repo:
- $
git clone https://github.com/safe-global/safe-wallet-monorepo
- $
cd safe-wallet-monorepo
- $
yarn -y
- $
- Disable telemetry:
- $
yarn config set enableTelemetry 0
- $
yarn config set --home enableTelemetry 0
- $
npx next telemetry disable
- $
- Fix dependencies:
$ yarn add @reduxjs/toolkit && \ yarn workspace @safe-global/mobile add prettier && \ yarn workspace @safe-global/mobile add react-test-renderer && \ yarn workspace @safe-global/store add @types/node && \ yarn workspace @safe-global/store add typescript && \ yarn workspace @safe-global/test add typescript && \ yarn workspace @safe-global/utils add @types/node && \ yarn workspace @safe-global/utils add typescript && \ yarn workspace @safe-global/web add @mui/system && \ yarn workspace @safe-global/web add @testing-library/dom && \ yarn workspace @safe-global/web add @typescript-eslint/parser@^7.0.0 && \ yarn workspace @safe-global/web add eslint@^8.57.0 && \ yarn workspace @safe-global/web add react@latest react-dom@latest
- Assign more memory to NodeJS:
- $
export NODE_OPTIONS="--max-old-space-size=4096"
- $
- One final yarn run to verify dependencies:
- $
yarn
- $
- Launch:
- $
yarn workspace @safe-global/web start
- Launch Brave, go to http://localhost:3000/
- $
At this point everything seems to be working except the “connect” button. When I click the “connect” button, nothing happens. There’s also no errors if I open Developer Tools and look at the Console tab in Brave.
I’m sure it has to do with one of the yarn dependencies, but there’s so many I’m a bit lost… Would be great if someone could advise what they did to get it working!