launching Protractor fails and exited with error code #199"
<p>I am a new Protractor. I am trying to run a sample unit test on my first Angular2 application.</p>

<p>my conf.js file has :</p>

<pre><code>exports.config = { 
    seleniumAddress: 'http://localhost:3000/login', 
    specs: ['todo-spec.js'], 
    capabilities: { 
       'browserName': 'chrome', 
        chromeOnly:true , 
        directConnect: true } 
    };
</code></pre>

<p>2.my 'todo-spec.js' file has :</p>

<pre><code>describe('Authentication capabilities', function() {
  var email = element(by.id('inputusername'));
  var password = element(by.id('inputPassword'));
  var loginButton = element(by.class('btn-success'));


it('should redirect to the login page if trying to load protected page while not authenticated', function() {
    browser.get('http://localhost:3000/login');
    loginURL = browser.getCurrentUrl();
    email.sendKeys("demo");
    password.sendKeys("demo");
    loginButton.click();

  });  
 });
</code></pre>

<p>but when i try to run the protractor by the following command "protractor "filepath\conf.js",</p>

<p>Getting " E/launcher - Process exited with error code 199" error.</p>

<p>can anyone please let me know, where I'm doing mistake?</p>