electron-metamask-boilerplate icon indicating copy to clipboard operation
electron-metamask-boilerplate copied to clipboard

Web3 is not defined

Open nuevoalex opened this issue 6 years ago • 2 comments

Occurs on both Windows and Ubuntu. Just attempting to test out the base package by running:

npm install
npm run download.metamask.dev
npm start

I get the error:

Web3 is not defined

in the console.

The example application doesn't work as a result of this.

nuevoalex avatar Apr 25 '18 23:04 nuevoalex

This issue is being caused by the last update on MetaMask. They're using an Extension API from Chrome that is not supported by Muon yet. Please follow this issue for more information on that: https://github.com/brave/muon/issues/580

For now, I recommend you to use an older version (<= 4.2.0) of MetaMask by replacing the extensions/metamask folder. Download link: https://github.com/MetaMask/metamask-extension/releases/download/v4.2.0/metamask-chrome-4.2.0.zip

icaroharry avatar Apr 26 '18 17:04 icaroharry

@icaroharry How does one start using a locally deployed block chain (ganache running on http://localhost:7545) in the extension window. There seems to be no option in 4.12.0 popup while being used in the app.

ankitkataria avatar Oct 13 '18 23:10 ankitkataria