-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Had to manually force install on Windows #16901
Comments
I don't understand why some users run into install issues on Windows and some don't. I've seen some Windows users see this error because their org doesn't allow them to open non code-signed exe files. I suspect there is some kind of Windows network settings that are not allowing Cypress to install. I've never encountered these errors on install or upgrade within Windows. |
that could be it for me. this is my corporate comp that i do have pretty good flexibility on privilege wise, but could have some underlying stuff like that in play regardless. let me know if there's something you'd like me to check for this. regardless, might be worth a note in the docs that calls out if you don't see the install happening after the normal npm install that you might need to manually run the above |
Actually, I don't think From my understanding, it's forcing redownload of cypress and all child dependencies. So I think there must have been some conflict with the original deps - where it wasn't downloading a child dep originally without this flag. I'd like to more clearly understand why this is necessary before recommending it as a broad solution in the docs. I also feel like this error is too generic. I see it often for different reasons that don't ever seem clearly described in this error. |
I have currently the same issue. |
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. |
This issue has been closed due to inactivity. |
Current behavior
When doing an install for the first time, I followed the instructions here (1. run
npm i cypress --save-dev
in a react project withnode_modules
andpackage.json
, 2. run./node_modules/.bin/cypress open
)I had cypress at that node modules path, but it didn't run the installer when i did the
npm install
, so i get the below error when trying to open it.Once I ran
npx cypress install --force
(didn't work without force), it ran the install and I was able to open itDebug logs
Download method
node 14.17, npm 7.13.0
Operating System
Win10 10.0.19041
Other
The text was updated successfully, but these errors were encountered: