I'm running ng e2e --no-webdriver-update
and getting this error:
C:\project\Angular>ng e2e --no-webdriver-update [12:13:05] I/direct - Using ChromeDriver directly... [12:13:05] E/direct - Error code: 135 [12:13:05] E/direct - Error message: Could not find chromedriver at null. Run 'webdriver-manager update' to download binaries. [12:13:05] E/direct - Error: Could not find chromedriver at null. Run 'webdriver-manager update' to download binaries. at Direct. (C:\project\Angular\node_modules\protractor\built\driverProviders\direct.js:74:31) at Generator.next () at C:\project\Angular\node_modules\protractor\built\driverProviders\direct.js:7:71 at new Promise () at __awaiter (C:\project\Angular\node_modules\protractor\built\driverProviders\direct.js:3:12) at Direct.getNewDriver (C:\project\Angular\node_modules\protractor\built\driverProviders\direct.js:57:16) at Runner. (C:\project\Angular\node_modules\protractor\built\runner.js:190:53) at Generator.next () at C:\project\Angular\node_modules\protractor\built\runner.js:7:71 at new Promise () [12:13:05] E/launcher - Process exited with error code 135 An unexpected error occurred: undefined
Running webdriver-manager update
doesn't solve the issue.
This issue wasn't the same but gave some information.
EDIT:
If I run ng e2e
without --no-webdriver-update
I get this error:
C:\project\Angular>ng e2e Cannot automatically find webdriver-manager to update. Update webdriver-manager manually and run 'ng e2e --no-webdriver-update' instead. Error: Cannot automatically find webdriver-manager to update. Update webdriver-manager manually and run 'ng e2e --no-webdriver-update' instead. at ProtractorBuilder._updateWebdriver (C:\project\Angular\node_modules@angular-devkit\build-angular\src\protractor\index.js:92:23) at MergeMapSubscriber.rxjs_1.of.pipe.operators_1.concatMap [as project] (C:\project\Angular\node_modules@angular-devkit\build-angular\src\protractor\index.js:32:200)
See here for more information.
ng e2e --no-webdriver-update
– Heinrich--no-webdriver-update
flag? – DublinDev