react-auth-box icon indicating copy to clipboard operation
react-auth-box copied to clipboard

Redux-devtools not supported by testrpc

Open apackin opened this issue 7 years ago • 6 comments

'When loading the page with redux-devtools, the page outputs errors and does not render' as per https://github.com/ethereumjs/testrpc/issues/300

Error Received

The console error from truffle-box-auth is: Error: Error: RPC method personal_listAccounts not supported.

Fix

Disable the redux-devtools import by removing __REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || from store.js

apackin avatar Jun 25 '17 17:06 apackin

Does anyone know why redux dev tools causes this error?

nickjm avatar Jul 27 '17 05:07 nickjm

The redux dev chrome extension is synchronous by design internally (?)

Uncaught Error: The MetaMask Web3 object does not support synchronous methods like eth_mining without a callback parameter. See https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md#dizzy-all-async---think-of-metamask-as-a-light-client for details.

indreklasn avatar Apr 03 '18 14:04 indreklasn

Does anybody have a work around for this?

shanebrunette avatar May 16 '18 08:05 shanebrunette

I've been using middleware to log the actions and states. Leaving the devtools disabled as per above

apackin avatar May 16 '18 14:05 apackin

Hi , there's no way to use redux devtools until this day ?

I'm having the same issue as @wesharehoodies

Uncaught Error: The MetaMask Web3 object does not support synchronous methods like eth_mining without a callback parameter. See https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md#dizzy-all-async---think-of-metamask-as-a-light-client for details.

lndgalante avatar Feb 05 '19 14:02 lndgalante

I've ended up using redux-logger

lndgalante avatar Feb 18 '19 11:02 lndgalante