Cypress: Can't start server EEXIST: file already exists, mkdir 'C:\CP\node_modules\.bin\cypress'

Created on 23 Dec 2017  路  19Comments  路  Source: cypress-io/cypress

Current behavior:

When I start the cypress it show me Can't start server EEXIST: file already exists, mkdir 'C:\CP\node_modules.bin\cypress'

image

Desired behavior:

It need to start the test environment

How to reproduce:

Launch the cypress on win 10 PC
User will notice the Can't start server error

Additional Info (images, stack traces, etc)

  • Operating System: win10
  • Cypress Version: 1.4.0
  • Browser Version:
duplicate

Most helpful comment

I don't know you guys but I just deleted the cypress file generated after the first installation, hit the Try Again button and that's it hehehe.

All 19 comments

Duplicate of https://github.com/cypress-io/cypress/issues/1099. I've had the same issue for a while.

Closing in favor of the other issue.

How to make run cypress.io on your win system.

11

I don't know you guys but I just deleted the cypress file generated after the first installation, hit the Try Again button and that's it hehehe.

@nashoshinoda
@nashoshinoda
You are a genius, I deleted the cypress file and clicked Try Again button, the problem was solved,
thanks brother~

Awesome @berxtjkl ! I'm glad to know that I helped you!

Greetings!

Super bro..Thanks a lot :+1

Worked for me too. :) Thanks @nashoshinoda

I don't know you guys but I just deleted the cypress file generated after the first installation, hit the Try Again button and that's it hehehe.
Thanks man!

@nashoshinoda Thanks Man it worked!

@nashoshinoda Worked for me Thanks

@padmarajnidagundi - Thank you - your solution worked like a charm :)

well done!

Thanks, it works!

Great..This solution works. Kudos to @nashoshinoda nashoshinoda

Great..This solution works. Kudos to @nashoshinoda nashoshinoda

Thanks for the kudos, @sabbir-subhan

I don't know you guys but I just deleted the cypress file generated after the first installation, hit the Try Again button and that's it hehehe.

Thanks! Worked for me :)

I don't know you guys but I just deleted the cypress file generated after the first installation, hit the Try Again button and that's it hehehe.

Thanks! Worked for me :)

Good to know, man!

We can also use --global as it force Cypress into global mode as if its globally installed.
So, the cmd will be "cypress open --global"
It works for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

egucciar picture egucciar  路  3Comments

zbigniewkalinowski picture zbigniewkalinowski  路  3Comments

SecondFlight picture SecondFlight  路  3Comments

weskor picture weskor  路  3Comments

jennifer-shehane picture jennifer-shehane  路  3Comments