cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.87k stars 3.18k forks source link

Cypress stuck on unzipping 0% #17172

Closed danieljmann96 closed 1 year ago

danieljmann96 commented 3 years ago

I get this output when I run npm install cypress --save-dev This is in an administrator session in Windows CMD. I am running windows 10.

Screenshot 2021-07-01 104143

It gets stuck on 0% and will not budge (I even left it overnight...) If it's important, my package.json dependencies are below:

"devDependencies": {
    "@types/react": "^17.0.0",
    "@types/react-dom": "^17.0.0",
    "@types/webpack": "^4.41.25",
    "@types/react-router-dom": "^5.1.7",
    "@types/mui-datatables": "^3.7.3",
    "@types/react-text-mask": "^5.4.7",
    "@typescript-eslint/eslint-plugin": "^4.17.0",
    "@typescript-eslint/parser": "^4.17.0",
    "clean-webpack-plugin": "^3.0.0",
    "css-loader": "^5.0.1",
    "eslint": "^7.21.0",
    "eslint-config-prettier": "^8.1.0",
    "eslint-plugin-react": "^7.22.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "eslint-webpack-plugin": "^2.5.2",
    "html-webpack-plugin": "^4.5.0",
    "husky": "^4.3.8",
    "lint-staged": "^10.5.4",
    "prettier": "2.2.1",
    "style-loader": "^2.0.0",
    "ts-loader": "^8.0.11",
    "typescript": "^4.1.2",
    "url-loader": "^4.1.1",
    "webpack": "^5.9.0",
    "webpack-cli": "^4.2.0",
    "webpack-dev-server": "^3.11.0",
    "webpack-merge": "^5.4.0"
  },
  "dependencies": {
    "@date-io/dayjs": "^1.3.13",
    "@fontsource/roboto": "^4.2.2",
    "@material-ui/core": "^4.11.2",
    "@material-ui/icons": "^4.11.2",
    "@material-ui/lab": "^4.0.0-alpha.57",
    "@material-ui/pickers": "^3.3.10",
    "axios": "^0.21.1",
    "clsx": "^1.1.1",
    "dayjs": "^1.10.4",
    "emailjs-com": "^3.1.0",
    "jwt-decode": "^3.1.2",
    "moment-timezone": "^0.5.33",
    "mui-datatables": "^3.7.7",
    "notistack": "^1.0.9",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-live-clock": "^5.2.0",
    "react-moment": "^1.1.1",
    "react-print-components": "^1.0.4",
    "react-router-dom": "^5.2.0",
    "react-text-mask": "^5.4.3",
    "text-mask-addons": "^3.8.0"
  }

If anyone could suggest the cause, or any particular logs I could look at, that'd be great (couldn't find much in Event Viewer)

mattvb91 commented 3 years ago

Im having the exact same issue cant do an npm i on my project because postinstall on cypress freezes

Edit

Downgrade to 7.5.0 worked

Achoobert commented 2 years ago

I have a feeling the download is consistently malformed? I've attempted to clean up with cypress cache clear Deleting all cypress dirs in AppData

Still getting these results:

image

image

Achoobert commented 2 years ago

My solution: Download manually from here https://docs.cypress.io/guides/getting-started/installing-cypress#Direct-download

Unzip to this path image

cypress-app-bot commented 1 year ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

cypress-app-bot commented 1 year ago

This issue has been closed due to inactivity.