Unable to execute protractor, getting "Could not find update-config.json" error message

KAK picture KAK · May 29, 2017 · Viewed 19.8k times · Source

When I'm trying to execute my <configuration>.js file, I'm getting the error below:

[14:49:13] I/launcher - Running 1 instances of WebDriver
[14:49:13] I/direct - Using ChromeDriver directly...
[14:49:13] E/direct - Error code: 135
[14:49:13] E/direct - Error message: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
[14:49:13] E/direct - Error: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.

I ran the command webdriver-manager update and tried to execute the file, but the same error persists. Can anyone help me to overcome the same?

Answer

tbo47 picture tbo47 · Jul 22, 2019

Using node node_modules/protractor/bin/webdriver-manager update worked for me.