Cypress: How lauch cypress on windows 10?

Created on 7 Mar 2018  路  8Comments  路  Source: cypress-io/cypress

Hi,

I would like ton open cypress on windows but I don't know exactly the path. I don't find informations in Cypress documentation. Could you help me?
Regards,
Elisa

question

Most helpful comment

You just download it and unpack it and launch the Cypress.exe?

or

You install/run true the command line CMD or GITbash or something. (Node.js)
node_modules\.bin\cypress open

All 8 comments

You just download it and unpack it and launch the Cypress.exe?

or

You install/run true the command line CMD or GITbash or something. (Node.js)
node_modules\.bin\cypress open

Hi,

when I run:
C:\..path project..>node_modules\.bin\cypress open
I get the following error:

module.js:540
    throw err;
    ^

Error: Cannot find module '...path project...\node_modules\cypress\bin\cypress'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

I solved my issue by clicking on Cypress.exe

Regards,
Elisa

@perceboisElisa Did you get Cypress up and running?

Hi,

Cypress.io on windows 10 - 64 bits doesn't actually work :-(.

When I click on Cypress.exe, a new "cypress" folder is always created...and I got "This browser was not launched through Cypress. Tests cannot run" and a Run Chrome 64 button appears.

Elisa

@perceboisElisa It does sound like the install properly worked, but you are encountering another error. This issue details the error it seems to be you are seeing - https://github.com/cypress-io/cypress/issues/1239

Hello Can someone help me with below issue when trying to open cypress
image

@manideepmedisetty You may want to try npm prune or deleting your node_modules folder and running npm i again.

Workaround:

  1. Delete the file "E:\TestingCypress\node_modules.bin\cypress"
  2. Open cypress again
Was this page helpful?
0 / 5 - 0 ratings