Closed
Description
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'
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:
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
aaronherman commentedon Dec 25, 2017
Duplicate of #1099. I've had the same issue for a while.
brian-mann commentedon Dec 25, 2017
Closing in favor of the other issue.
padmarajnidagundi commentedon Mar 2, 2018
How to make run cypress.io on your win system.
nashoshinoda commentedon Aug 14, 2018
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.
jun-jing commentedon Aug 28, 2018
@nashoshinoda
@nashoshinoda
You are a genius, I deleted the cypress file and clicked Try Again button, the problem was solved,
thanks brother~
nashoshinoda commentedon Aug 28, 2018
Awesome @berxtjkl ! I'm glad to know that I helped you!
Greetings!
jagadish659 commentedon Oct 22, 2018
Super bro..Thanks a lot :+1
just4santosh commentedon Oct 30, 2018
Worked for me too. :) Thanks @nashoshinoda
mikelumberjack commentedon Mar 29, 2019
TechnoCraftCons commentedon Apr 4, 2019
@nashoshinoda Thanks Man it worked!
Vinay4Test commentedon Apr 23, 2019
@nashoshinoda Worked for me Thanks
githubbalaji commentedon Jul 15, 2019
@padmarajnidagundi - Thank you - your solution worked like a charm :)
peterkemenyas commentedon Feb 15, 2020
well done!
jimmytbc commentedon Mar 12, 2020
Thanks, it works!
sabbir-subhan commentedon May 20, 2020
Great..This solution works. Kudos to @nashoshinoda nashoshinoda
nashoshinoda commentedon May 20, 2020
Thanks for the kudos, @sabbir-subhan
Fairouz05 commentedon Jun 8, 2020
Thanks! Worked for me :)
nashoshinoda commentedon Jun 8, 2020
Good to know, man!
khushal-Gupta-94 commentedon Oct 8, 2020
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.
ggonmar commentedon Jan 17, 2021
My way of fixing it was even stuppidier: change / for \ on the call
shivanipatwal90 commentedon May 1, 2021
deleting the cypress file from .bin folder, worked for me too :)
AUnathilACR commentedon Jun 8, 2021
It works for me too. Thanks @shivanipatwal90
paulcastro2014 commentedon Sep 26, 2021
lol I spent 2 hours trying to fix this...
Thanks