-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Cannot install - cache path is possibly incorrect #8093
Comments
You should not need to run (and we don't advise) using You should also not need to install |
Thanks for the clarification. Trying in just the project directory, I'm still having problems. Cypress isn't recognized as installed by my project, so I'm trying to open it as directed. It seems to be stuck on "Opening Cypress" as it's been sitting there with those ellipses for the last 10 minutes. Is there a specific fix known for this?
|
Did you uninstall the global cypress completely? Could you run Cypress in debug mode mode and print the entire set of logs here? |
Current behavior:
same issue that was logged in #1281, but I'm on a fresh install of nodejs.
Attempting
sudo npm install -g cypress
in RHEL 7:Log:
Desired behavior:
Should install.
Observations
The specific error is:
I note that in #1281, a comment notes that Cypress should be writing to
~/.cache/Cypress
, which is the user's directory. It looks like instead of~
, which means/home/root
, it's instead writing to an absolute path starting with/root
.Test code to reproduce
On RHEL7, just try to install:
sudo npm install -g cypress
:Versions
Cypress: 4.11.0
OS: RHEL 7.8
The text was updated successfully, but these errors were encountered: