truffle-box / react-auth-box

Truffle, Webpack, React, Redux boilerplate with routing and authentication via a smart contract.
https://truffle-box.github.io/
MIT License
176 stars 66 forks source link

Redux-devtools not supported by testrpc #5

Open apackin opened 7 years ago

apackin commented 7 years ago

'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

nickjm commented 7 years ago

Does anyone know why redux dev tools causes this error?

indreklasn commented 6 years ago

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.
shanebrunette commented 6 years ago

Does anybody have a work around for this?

apackin commented 6 years ago

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

lndgalante commented 5 years ago

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 commented 5 years ago

I've ended up using redux-logger