score:0

it seems like an issue that happened to me when i had a power outage during installation - so if i am right it occurs when an installation is forced down midway. i managed to solve it by deleting every cypress folder from appdata before running npm install cypress --save-dev .

score:0

unzipping manually downloaded cypress to appdata/local/cypress/cache/[version]/ fixed the issue for me.

after removing cypress from the appdata/local and appdata/roaming if you try to run npx cypress open you will see:

cypress executable not found at: c:\users\[user]\appdata\local\cypress\cache\8.5.0\cypress\cypress.exe

so it worked after unzipping cypress there manually.

score:1

i had this same issue and seemed to fix this issue by upgrading to the latest version of node and npm.

score:1

i had the same issue when trying do a fresh npm installation for a project. running in the same command in an elevated window did not help. jakob's answer helped above:

visit https://docs.cypress.io/guides/getting-started/installing-cypress#direct-download

download the version of cypress from https://download.cypress.io/desktop or alternatively put the version number at the end : https://download.cypress.io/desktop/8.7.0

extract the folder to:

c:\users\[username]\appdata\local\cypress\cache\[version]

i ran npm install and the install completed without error.


Related Query

More Query from same tag