diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index a728adece..4d8217460 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -14,7 +14,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 5cdf8163c..15e60b915 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,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": {