Skip to content

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

Closed
@padmarajnidagundi

Description

@padmarajnidagundi

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:

Activity

aaronherman

aaronherman commented on Dec 25, 2017

@aaronherman

Duplicate of #1099. I've had the same issue for a while.

brian-mann

brian-mann commented on Dec 25, 2017

@brian-mann
Member

Closing in favor of the other issue.

padmarajnidagundi

padmarajnidagundi commented on Mar 2, 2018

@padmarajnidagundi
Author

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

11

nashoshinoda

nashoshinoda commented on Aug 14, 2018

@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.

jun-jing

jun-jing commented on Aug 28, 2018

@jun-jing

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

nashoshinoda

nashoshinoda commented on Aug 28, 2018

@nashoshinoda

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

Greetings!

jagadish659

jagadish659 commented on Oct 22, 2018

@jagadish659

Super bro..Thanks a lot :+1

just4santosh

just4santosh commented on Oct 30, 2018

@just4santosh

Worked for me too. :) Thanks @nashoshinoda

mikelumberjack

mikelumberjack commented on Mar 29, 2019

@mikelumberjack

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!

TechnoCraftCons

TechnoCraftCons commented on Apr 4, 2019

@TechnoCraftCons

@nashoshinoda Thanks Man it worked!

Vinay4Test

Vinay4Test commented on Apr 23, 2019

@Vinay4Test

@nashoshinoda Worked for me Thanks

githubbalaji

githubbalaji commented on Jul 15, 2019

@githubbalaji

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

peterkemenyas

peterkemenyas commented on Feb 15, 2020

@peterkemenyas

well done!

jimmytbc

jimmytbc commented on Mar 12, 2020

@jimmytbc

Thanks, it works!

sabbir-subhan

sabbir-subhan commented on May 20, 2020

@sabbir-subhan

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

nashoshinoda

nashoshinoda commented on May 20, 2020

@nashoshinoda

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

Thanks for the kudos, @sabbir-subhan

Fairouz05

Fairouz05 commented on Jun 8, 2020

@Fairouz05

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 :)

nashoshinoda

nashoshinoda commented on Jun 8, 2020

@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! Worked for me :)

Good to know, man!

khushal-Gupta-94

khushal-Gupta-94 commented on Oct 8, 2020

@khushal-Gupta-94

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

ggonmar commented on Jan 17, 2021

@ggonmar

My way of fixing it was even stuppidier: change / for \ on the call

shivanipatwal90

shivanipatwal90 commented on May 1, 2021

@shivanipatwal90

deleting the cypress file from .bin folder, worked for me too :)

AUnathilACR

AUnathilACR commented on Jun 8, 2021

@AUnathilACR

deleting the cypress file from .bin folder, worked for me too :)

It works for me too. Thanks @shivanipatwal90

paulcastro2014

paulcastro2014 commented on Sep 26, 2021

@paulcastro2014

lol I spent 2 hours trying to fix this...
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @brian-mann@nashoshinoda@shivanipatwal90@peterkemenyas@just4santosh

        Issue actions

          Can't start server EEXIST: file already exists, mkdir 'C:\CP\node_modules\.bin\cypress' · Issue #1125 · cypress-io/cypress