Idan E Idan E - 2 months ago 24
Node.js Question

Can't start webdriver-manager after upgrading of jdk, node & webdriver

I've upgraded Node, Protractor, JDK & webdriver to the latest versions.
And now I can't start webdriver-manager anymore not by CMD and not by Node command line.

Any idea?

Error:
Your environment has been set up for using Node.js 0.12.2 (x64) and npm.

C:\Users\idan>cd c:\automation\tests\node_modules\protractor\bin

c:\automation\tests\node_modules\protractor\bin>webdriver-manager start
selenium.pid: 6484
'java' is not recognized as an internal or external command,
operable program or batch file.
Selenium Standalone has exited with code 1

c:\automation\tests\node_modules\protractor\bin>

Answer

You need to have jdk installed and JAVA_HOME environment variable set:

Also see:

Comments