Just an error I just saw and how to solve it.
webdriver manager execvp(): No such file or directory
You need Java Installed. Get it here ~44mb. https://www.java.com/en/download/help/linux_x64_install.xml
Installed Java but didn’t solve the problem…
1 2 3 |
sdeering@ubuntu:~$ sudo apt-get install default-jre |
This command worked but now I get a different error. “Invalid or corrupt jarfile”.
Remove the protractor folder and try a reinstall. Don’t cancel the downloads, wait until they are done.
1 2 3 4 5 6 |
rm -rf /usr/local/lib/node_modules/protractor/ npm install -g protractor webdriver-manager update webdriver-manager start |
Bingo!
refs:
https://github.com/sgentle/phantomjs-node/issues/24
https://github.com/angular/protractor/issues/369
https://stackoverflow.com/questions/20707531/how-to-install-protractor-and-start-it
https://stackoverflow.com/questions/21072439/protractor-0-16-1-e2e-angularjs-starting-selenium-standalone-server-events
https://github.com/jmreidy/grunt-mocha-webdriver/issues/2
webdriver-manager update #for some reason it will not completely download the jar file… I manually downloaded selenium for it to work