I have followed the tutorials of Dapp University. Using Ganache and Metamask 127.0.0.1:7545 and did a truffle test or migrate it works perfectly.
Then, I change my network this is my truffle.js
:
Then, I have geth setup with new genesis.json
:
I created 2 accounts. Then started mining. account[0] now has 3000 ethereum, I added in metamask, its shows the same number. Then I added account1 in metamask with 0 ethereum, works great.
Then I run truffle migrate --reset --network kennetwork
:
Then this is my DappToken.js
the error is happening at line 97: