title: Unable to create new service: GeckoDriverService
body: <p>I am a beginner in Web Automation. I tried to run the Nightwatch tutorial from <a href="https://www.youtube.com/watch?v=93ndNx-h1ag" rel="nofollow noreferrer" title="Nightwatch.js installation on Windows 10">This YouTube Tutorial</a>.</p>
  
  <p>I have installed the following tools on Windows 10:</p>
  
  <ul>
  <li>node.js</li>
  <li>selenium-server-standalone-3.9.1</li>
  <li>nightwatch.js 0.9.19</li>
  </ul>
  
  <p>When I execute command</p>
  
  <p><code>node nightwatch.js -t tests/google.js</code></p>
  
  <p>I got an <strong>error</strong></p>
  
  <pre><code>'{ value: { message: 'Unable to create new service: GeckoDriverService\nBuild info: version: \'3.9.1\', revision: \'63f7b50\', time: \'2018-02-07T22:42:28.403Z\'\nSystem info: host: \'DESKTOP-I986AE6\', ip: \'172.29.218.145\', os.name: \'Windows 10\', os.arch: \'amd64\', os.version: \'10.0\', java.version: \'9.0.4\'\nDriver info: driver.version: unknown',
   error: 'session not created' },status: 33 }
  </code></pre>
  
  <p>I have seen <a href="https://stackoverflow.com/questions/48534170/nightwatch-js-why-do-i-get-unable-to-create-new-service-geckodriverservice">This Post</a>. Then I downloaded the drivers (geckodriver and chromedriver) and put the drivers on the same directory as my json file. Then I insert the path of the driver on the json file, but I still got the same error. How do I fix this?</p>
  
  <p><strong>My nightwatch.json file:</strong></p>
  
  <pre><code>{
    "src_folders" : ["tests"],
    "output_folder" : "reports",
    "custom_commands_path" : "",
    "page_objects_path" : "",
    "custom_assertions_path" : "",
    "globals_path" : "",
    "live_output" : false,
    "parallel_process_delay" : 10,
    "disable_colors": false,
    "test_workers" : false,
  
    "selenium" : {
      "start_process" : false,
      "server_path" : "",
      "log_path" : "",
      "host" : "127.0.0.1",
      "port" : 4445,
      "cli_args" : {
        "webdriver.chrome.driver" : "chromedriver.exe",
        "webdriver.gecko.driver" : "geckodriver.exe",
        "webdriver.firefox.profile" : ""
      }
    },
  
    "test_settings" : {
      "default" : {
        "launch_url" : "http://localhost",
        "selenium_host" : "127.0.0.1",
        "selenium_port" : 4444,
        "silent" : true,
        "disable_colors": false,
        "screenshots" : {
          "enabled" : false,
          "path" : ""
        },
        "desiredCapabilities" : {
          "browserName" : "firefox",
          "javascriptEnabled" : true,
          "acceptSslCerts" : true
        }
      },
  
      "saucelabs" : {
        "selenium_host" : "ondemand.saucelabs.com",
        "selenium_port" : 80,
        "username" : "${SAUCE_USERNAME}",
        "access_key" : "${SAUCE_ACCESS_KEY}",
        "use_ssl" : false,
        "silent" : true,
        "output" : true,
        "screenshots" : {
          "enabled" : false,
          "on_failure" : true,
          "path" : ""
        },
        "desiredCapabilities": {
          "name" : "test-example",
          "browserName": "firefox"
        },
        "globals" : {
          "myGlobal" : "some_sauce_global"
        },
        "selenium" : {
          "start_process" : false
        }
      },
  
      "phantomjs" : {
        "desiredCapabilities" : {
          "browserName" : "phantomjs",
          "javascriptEnabled" : true,
          "acceptSslCerts" : true,
          "phantomjs.binary.path" : "/path/to/phantomjs"
        }
      },
  
      "browserstack" : {
        "selenium" : {
          "start_process" : false
        },
        "selenium_host" : "hub.browserstack.com",
        "selenium_port" : 80,
        "silent" : true,
        "desiredCapabilities": {
          "name" : "test-example",
          "browserName": "firefox",
          "browserstack.user" : "...",
          "browserstack.key" : "..."
        }
      },
  
      "testingbot" : {
        "selenium_host" : "hub.testingbot.com",
        "selenium_port" : 80,
        "apiKey" : "${TB_KEY}",
        "apiSecret" : "${TB_SECRET}",
        "silent" : true,
        "output" : true,
        "screenshots" : {
          "enabled" : false,
          "on_failure" : true,
          "path" : ""
        },
        "desiredCapabilities": {
          "name" : "test-example",
          "browserName": "firefox"
        },
        "selenium" : {
          "start_process" : false
        }
      }
    }
  }
  </code></pre>