electron-metamask-boilerplate
electron-metamask-boilerplate copied to clipboard
Web3 is not defined
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.
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 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.