upgrading a angular CLI project to Nx Workspace error

96 views
Skip to first unread message

Reza Razavipour

unread,
Sep 18, 2018, 12:08:41 PM9/18/18
to Angular and AngularJS discussion
I have an angular CLI 6 project.
I am trying to upgrade it an Nx Workspace.

when I run ng add @nrwl/schematics:

I get an error saying:


    
Make sure the cs-angular-e2e.architect.e2e.options.protractorConfig is valid or the cs-angular-e2e project is removed from angular.json.

    An e2e project was specified but e2e/protractor.conf.js could not be found.

    Your workspace could not be converted into an Nx Workspace because of the above error.


Should I just remove it or is there a better way to do this?


Sander Elias

unread,
Sep 23, 2018, 1:49:28 AM9/23/18
to Angular and AngularJS discussion
Hi Reza,

Remove it, but be sure you don't delete your e2e tests. You need to add something manually later to run those again.
If you don't have e2e test., well, just remove. (we all do testing, right... ;) )

Regards
Sander
Reply all
Reply to author
Forward
0 new messages