thirdweb_connect_error
This project is a minimal reproduction of a problem experienced when the provider tries to connect.
Follow these steps to reproduce the error:
- Clone the project:
git clone <repository-url>
- Navigate into the project directory:
cd thirdweb_connect_error
- Install the dependencies:
npm install
- Start the project:
npm run dev
- Make sure no other Chrome window is open.
- Open a new Chrome window and navigate to
localhost:3000
- Connect the wallet and log into MetaMask.
- Quit Chrome completely from the system menu.
- Launch Chrome again and navigate to
localhost:3000
- If the button is showing the loading indicator, refresh/reload the page.
At this point, you should see the error.
Unhandled Runtime Error Error: Failed to auto connect to the wallet.
Call Stack MetaMaskWallet._connect2 node_modules/@thirdweb-dev/wallets/dist/base-901ad5ac.browser.esm.js (141:0) async eval node_modules/@thirdweb-dev/react-core/dist/useTransactions-3346bed6.browser.esm.js (538:0)
Provide any relevant details about the environment where the problem occurs, like:
- OS: 13.3.1 (a) (22E772610a)
- Node.js version: v18.15.0
- npm version: 9.6.3
- Chrome version: Version 113.0.5672.92 (Official Build) (x86_64)
- MetaMask version: 10.29.0