Angular CLI does not work with Protractor 6
See original GitHub issueBug report
After upgrading from version 5.4.2
to version 6.0.0
, when I try to run ng e2e
it fails with the following:
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 (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/src/protractor/index.js:83:23)
at MergeMapSubscriber.rxjs_1.of.pipe.operators_1.concatMap [as project] (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/src/protractor/index.js:26:200)
at MergeMapSubscriber._tryNext (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
at MergeMapSubscriber._next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
at MergeMapSubscriber.Subscriber.next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/Subscriber.js:67:18)
at MergeMapSubscriber.notifyNext (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/mergeMap.js:92:26)
at InnerSubscriber._next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/Subscriber.js:67:18)
at SafeSubscriber.__tryOrUnsub (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:209:16)
at SafeSubscriber.next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:147:22)
at Subscriber._next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:90:26)
at Subscriber.next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
at SafeSubscriber.__tryOrUnsub (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/Subscriber.js:209:16)
at SafeSubscriber.next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/Subscriber.js:147:22)
at MergeMapSubscriber.notifyNext (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/mergeMap.js:92:26)
at InnerSubscriber._next (/home/francesco.borzi/sources/ngx-duration-picker/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
Switching back to 5.4.2
solves this issue for me.
Here some information about my system:
Angular CLI: 7.3.7
Node: 10.15.3
OS: linux x64
Angular: 7.2.11
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.13.7
@angular-devkit/build-angular 0.12.4
@angular-devkit/build-optimizer 0.12.4
@angular-devkit/build-webpack 0.12.4
@angular-devkit/core 7.3.7
@angular-devkit/schematics 7.3.7
@angular/cli 7.3.7
@ngtools/webpack 7.2.4
@schematics/angular 7.3.7
@schematics/update 0.13.7
rxjs 6.4.0
typescript 3.2.4
webpack 4.28.4
Issue Analytics
- State:
- Created 4 years ago
- Reactions:14
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Using Angular 7.x with Protractor 6 (beta) - Stack Overflow
Protractor 6.0.0-beta does not work with angular-cli ... want to use the 6 beta, to separate it (your tests) from the angular-cli project....
Read more >Upgrading from AngularJS to Angular
One of the keys to a successful upgrade is to do it incrementally, by running the two frameworks side by side in the...
Read more >Protractor Archives - Digital Innovation Blog
While this works with NPM it is different with Yarn as it can't load the webdriver from a deep link. This is a...
Read more >Protractor is dead, long live Cypress! - Part 1
On 24th April, Angular announced the deprecation of their E2E testing tool protractor. It was unclear if there will be a successor or...
Read more >Protractor - end-to-end testing for AngularJS
Protractor is an end-to-end test framework for Angular and AngularJS ... Open a new command line or terminal window and create a clean...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
Any update on this ❓
Any update on when resolution or workaround?