Skip to content
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

"A merge conflicted on path "/cypress.json". #20896

Closed
tomaszwojciechowski opened this issue Apr 4, 2022 · 3 comments
Closed

"A merge conflicted on path "/cypress.json". #20896

tomaszwojciechowski opened this issue Apr 4, 2022 · 3 comments
Labels
type: enhancement Requested enhancement of existing feature type: error message

Comments

@tomaszwojciechowski
Copy link

tomaszwojciechowski commented Apr 4, 2022

Current behavior

When I execute
npm run ng add @cypress/schematic
while having cypress.json file with one line:
{}
then I answer Yes to "Would you like the default 'ng e2e' command to use Cypress?"
then I see: "A merge conflicted on path "/cypress.json".

Desired behavior

Display message: "/cypress.json already exists. Merge is not possible", instead of "A merge conflicted on path "/cypress.json".

Test code to reproduce

Cypress Version

9.5.3

Other

No response

@davidmunechika davidmunechika added type: error message stage: proposal 💡 No work has been done of this issue labels Apr 4, 2022
@davidmunechika davidmunechika added type: enhancement Requested enhancement of existing feature unification and removed stage: proposal 💡 No work has been done of this issue labels Apr 11, 2022
@muuvmuuv
Copy link

muuvmuuv commented May 2, 2022

Yep, same here. No Protactor installed, maybe thats the issue.

@muuvmuuv
Copy link

muuvmuuv commented May 2, 2022

Oh, okay my issue was that I had two projects where one had a different root than the default.

@jennifer-shehane
Copy link
Member

Since this issue hasn't had activity in a while, we'll close the issue. If you’re encountering something similar, plz open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Requested enhancement of existing feature type: error message
Projects
None yet
Development

No branches or pull requests

4 participants