New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transitioning to Nx fails when current Angular repo has Cypress installed #8383
Comments
I got the same problem |
@FrozenPandaz I see the fix changes merged. Is there any for me to try this? |
@pavankjadda I can confirm that this is now fixed however, I got an Using ng add and preserving your existing structureCurrent Behaviorℹ Using package manager: npm The package @nrwl/workspace@13.4.6 will be installed and executed. Expected BehaviorThe migration should work as expected without any error. Steps to Reproduce
I also tried using the cmd Current Behavior"Your global Angular CLI version (13.1.3) is greater than your local version (13.1.2). The local Angular CLI version is used. To disable this warning use "ng config -g cli.warnings.versionMismatch false". Expected BehaviorThe migration should work as expected. Steps to Reproduce
Converting Angular Workspace to NX WorkspaceCurrent Behaviorℹ Using package manager: npm The package @nrwl/workspace@13.4.6 will be installed and executed. Expected BehaviorThe migration should work as expected since there is no protractorConfig in the project. Steps to Reproduce
Can you help us @FrozenPandaz? Thanks! |
I still have the issue in Nx |
Here are minimal repro steps for what is currently happening in Steps to Reproduce
Expected BehaviorThe migration should work as expected. Actual BehaviorThe following error occurs: Cannot find apps/test-nx-conversion-e2e/tsconfig.json |
There is a workaround to this. In your The problem here is that none of the cypress migrations are performed and you will have to perform those manually. See the manual instructions on how to do this. |
Thanks @johnbwoodruff, I tried it and it works successfully. @pavankjadda You can try the steps above. |
This was fixed on #9105 and it will be released in an upcoming version. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
When I try to migrate existing Angular 13 project which has Cypress e2e tests, I see the below error
Expected Behavior
The migration should work as expected
Steps to Reproduce
ng add @nrwl/workspace
orng add @nrwl/workspace --preserveAngularCLILayout
angular.json
and folder structure looks like below
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: