jermay / crypto-kitties

A Crypto Kitties clone. For fun... and maybe food for the Crypto Zombies tutorial! Mwuahahah!
64 stars 46 forks source link

Provider not set or invalid when Metamask not installed #56

Closed jermay closed 4 years ago

jermay commented 4 years ago

Provider not set or invalid when Metamask not installed

Transaction Status: Provider not set or invalid

Console error:

TypeError: Cannot read property 'on' of undefined
    at walletSaga.js:236

index.js:1 wallet error:  Error: Provider not set or invalid
    at Object.InvalidProvider (errors.js:39)
    at RequestManager.push../node_modules/web3-core-requestmanager/lib/index.js.RequestManager.send (index.js:133)
    at sendRequest (index.js:609)
    at Eth.send [as getChainId] (index.js:636)
    at WalletService.getNetwork (walletService.js:4)