I'm following this tutorial.
After using the command truffle migrate --reset
the blocks appear on Ganache GUI. However, I'm not able to interact with the contract using the console. If I type token = await MemoryToken.deployed()
, I receive the following error:
truffle(development)> let token = await MemoryToken.deployed()
Uncaught ReferenceError: global is not defined at evalmachine.<anonymous>:2:19
I have no idea why. I tried this several time with the same result. What am I missing ?
The same happens with the tutorial from the truffle website.