Code Monkey home page Code Monkey logo

Comments (2)

MikeMcC399 avatar MikeMcC399 commented on July 17, 2024 1

@Venki4746l

Cypress 10.11.0 is an older version (the current version is 13.6.4)
Node.js 12.14.1 is no longer supported. The minimum is Node.js 18.

You can try the following, assuming you are using Windows PowerShell

npm install cypress --save-dev --ignore-scripts --verbose
$env:DEBUG = "cypress:*"
npx cypress install

This will output debug information so you can see what it is doing and the reason for any delay.

If it is not installing successfully, then the most likely reason is your environment, such as network connection, proxy, network security, etc.

from cypress.

ikbenpinda avatar ikbenpinda commented on July 17, 2024

Hello, I was having a similar issue, but with a newer version of Cypress(13.6.4), Node(18.17.0), and Yarn(4.1.0) instead of npm.
I'm using Windows 10. In my case I expect it's an issue with the VPN/VDI I'm using, similar to what's mentioned above.

In case it helps, I had to do the following:

# using git-bash instead of cmd/powershell
export DEBUG=cypress:*
export HTTP_PROXY=http://YOUR_USERNAME_HERE:YOUR_PASSWORD_HERE@YOUR_PROXY_URL_HERE:YOUR_PROXY_PORT_HERE/
yarn install cypress

# < check the URL it's downloading from and click on it / paste it in your browser for a direct download that isn't latest >
# hit CTRL+C to cancel as it will remain stuck as mentioned, then:

cd ~/AppData/Local/Cypress
mkdir 13.6.4
cp ~/Downloads/cypress.zip ~/AppData/Local/Cypress/13.6.4
cd ~/AppData/Local/Cypress/13.6.4
unzip cypress.zip

# cleanup
rm cypress.zip
export DEBUG=

After this, I was able to run cypress as usual.

from cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.