Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 724 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 724 Bytes

Truffle-error-fix

Fix for error mesasage "VM Exception while processing transaction: invalid opcode" while migrating contract.

dep1

  1. Close Ganache if you are using that.

  2. Open a second terminal and run $ ganache-cli

image

  1. Make sure to have both terminals open, one with ganache-cli and the other where you make the migration.

  2. Run $ truffle migrate in the second terminal.

image

Done!