-
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
Error: EACCES: Permission Denied (Cypress 13.13.2) - Macos darwin-arm64 (24.0.0) #30652
Comments
#28663 seems related... Should note that this exact same setup is working on Linux systems just fine. Seems to be an issue specifically with Mac. |
Hi @nam-smyl-fitness, thanks for reporting the issue. I'm not sure we have run into this exactly. Is it possible that nix is locking down that store directory? If so, I wonder if setting |
|
|
It seems that your comments are related specifically to v13.2.0. I can confirm that v13.13.2 works fine with Nix on both NixOS and Ubuntu. |
It's good that you can narrow down the issue. If I have understood the logs and other comments correctly, it looks like there is an issue running the nix
Considering that there haven't been similar reports of running that version of Cypress natively under macOS, it could be a nix packaging issue. The nix Cypress package maintainers have been pinged in NixOS/nixpkgs#357366 and that is probably the best place to be following up at this time. |
Within this Also, where are you finding this CYPRESS_CACHE_FOLDER? Do you mean the Cypress binaries? If I moved it out, where would |
You should be able to find out the current setting for pnpm cypress cache path See https://docs.cypress.io/app/references/command-line#cypress-cache-path |
Current behavior
OS: MacOS darwin-arm64 (Apple M1 Silicon)
Cypress version: 13.13.2
Pnpm version: 9.12.1
Node version: 20.3.0
Nix: 2.24.9
Devenv: 1.3.1 (aarch64-darwin)
While running
pnpm cypress open
orpnpm cypress run
I get the followingError: EACCES: permission denied
Stack Trace
I have already allowed in my macos
Privacy & Security
tab for Cypress to open per the workaround proposed in issue #24822 however the error still persists. For more context, I am using nix devenv. I can verify that the Cypress binary is there and the scriptpnpm cypress open
does run against the Nix Cypress package binary. Has the community found a workaround or is this a net new bug found only with Nix dev ecosystem?Desired behavior
No response
Test code to reproduce
n/a
Cypress Version
13.13.2
Node version
20.3.0
Operating System
macOS 15.0.1
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: