-
Notifications
You must be signed in to change notification settings - Fork 66
Run error #9
Comments
Yep. Same here... Compilation and migration seem to work fine: ie, no errors until you try to browse to the login view or click the signup button. Browser console says:
|
Same here. Anywords on workaround or fixes to this issue? |
Facing same issue Any solution?? |
have you guys deployed their contracts to the network (testrpc, geth etc.)?
|
Recommendations:
|
did that.. but still getting the same error,. Tried multiple times now downloaded the Box again and again repeat the process described.
but still the same result so is MetaMask |
are your contracts deployed to the network? Some lines should appear in testrpc indicating the contracts are successfully deployed. For example: eth_newBlockFilter Transaction: 0x852bcf6d883e9a67edd80c0f20cadd48b1b0d24a166b83ae33aad62c59041bb3 eth_newBlockFilter Transaction: 0x3b8f451221b223d155b9afab59800c0d6018a444dea00371260f9641201ed2dd |
Actually no these lines are not comming in testrpc. i have also tried migrate --reset as well |
Then your contracts are not deployed to testrpc, therefore, you can not interact with them. |
When i use migrate without this is the result
Running migration: 1_initial_migration.js |
Are you running the standard contracts from truffle box or have you added your own contracts? |
Standard contracts of truffle Boxes ,. without any editing |
BTW my testrpc account 0 balance in MetaMask |
I have not faced this issue, perhaps review this link. Your Metamask balance should be 100 for each testrpc account (by default), try importing a different private key in Metamask. |
@LeopoldoD here is the screen shot where i am stuck |
Ok, you are using the default Metamask account. You need to import a new account:
|
Same issue. I don't understand why metamask needed. Truffle box. Follow instructions.
then
In truffle console:
After this in another console:
Open http://localhost:3000/. See the page. Press 'SingUp'. Enter name. In browser console:
Click "Login". In browser console:
In truffle develop console:
|
+1 still struggling with this. |
At least in my case, the contracts are being deployed twice. There is an auto-migrate that runs with "truffle test", and it fails. The command "truffle deploy:contracts" works, but the auto-migrate doesn't. So what I did to fix the issue was to modify the migration scripts: before calling deployer.deploy() or .new(), check first whether that particular contract has already been successfully deployed, and don't deploy again if already deployed. I use .isDeployed() to determine if it is already deployed, and if so call .deployed() instead of deployer.deploy(). |
Hi @nekifirus , for this issue
In my case, I found out it was caused by the chrome extension of MetaMask, which resulted in getting wrong network_id. After I disabled the extension, the result was correct as expected. truffle-box/react-box#33 Updated: |
In my case it solved by updating proper network_id in config files.
Credits: https://ethereum.stackexchange.com |
I have just downloaded the React-auth-box and followed all the steps. I'm using testrpc for testing. However, I'm getting the following errors while doing truffle test:
I'm getting a similar error while testing the webpack server:
Testrpc appears to be connected to my dApp, but at the end displays the following error:
Transaction: 0xe54ab4cc933946de26a0176ac25c3a4e79ab752efa006054bdd4b30fb5a74d3f
Gas usage: 4712388
Block Number: 76
Block Time: Thu Jul 13 2017 13:12:02 GMT+0200 (CEST)
Runtime Error: invalid opcode
Any help is appreaciated. Thanks.
Leopoldo.
The text was updated successfully, but these errors were encountered: