Skip to content

Fix "VM Exception while processing transaction: invalid opcode"

Notifications You must be signed in to change notification settings

Creepybits/Truffle-error-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

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!

About

Fix "VM Exception while processing transaction: invalid opcode"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published