origin-js icon indicating copy to clipboard operation
origin-js copied to clipboard

Process never ends when migrating

Open wanderingstan opened this issue 7 years ago • 1 comments

Right now when we do a migration, e.g. with

npx truffle migrate --network rinkeby

it does do the migration, but the process never actually stops and goes back to bash. Instead, after the final Saving artifacts... message it just hangs.

Not sure if that's a problem with our migration steps or what.

It's annoying, and means we can't automate this process with a script.

The hacky way to fix it would be, I guess, to make a migration script named 999_exit.js which just does a process.exit() . Feels dirty, but better than nothing?

wanderingstan avatar May 18 '18 20:05 wanderingstan

This might be fixed with latest version of truffle: https://github.com/trufflesuite/truffle/releases/tag/v4.1.10

Fix for a bug that was causing Truffle to hang or error as commands exit when connected to Infura, especially when using the newest release of truffle-hdwallet-provider. Thanks @roderik for helping debug this.

wanderingstan avatar May 22 '18 16:05 wanderingstan