diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index a53fba6c6..7074b0a05 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -13,7 +13,7 @@ class Simulator { let cmds = []; const testrpc = shelljs.which('testrpc'); - const ganache = shelljs.which('embark-ganache-cli'); + const ganache = shelljs.which('ganache-cli-embark'); if (!testrpc && !ganache) { this.logger.warn(__('%s is not installed on your machine', 'Ganache CLI (TestRPC)')); this.logger.info(__('You can install it by running: %s', 'npm -g install ganache-cli')); diff --git a/package.json b/package.json index be064bcac..2601ed35c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "bin": { "embark": "./bin/embark", - "embark-ganache-cli": "./node_modules/.bin/ganache-cli" + "ganache-cli-embark": "./node_modules/.bin/ganache-cli" }, "main": "./lib/index.js", "directories": {