0

I'm following this tutorial: https://www.youtube.com/watch?v=044h0ZI-fDI
At 22:45, the following command is run: DappToken.deployed().then(function(i){token=i;})

In the video, after this command is run, undefined shows up.

However, this is what happens to me:
enter image description here

  • My Node Version: 12.18.1
  • My Truffle Version: 5.1.43
  • I'm using Git Bash.

I also understand the tutorial was performed on older versions of Solidity, but I made the necessary changes.
Both contracts were migrated successfully (as you can see in the image).

But for some reason, the command in question doesn't work... Help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.