macOS High Sierra fails to unzip Cypress on npm or Cypress install
See original GitHub issueCurrent behavior:
Upon running npm install cypress -D
or cypress install
, the “Unzipping Cypress” step fails with a permission denied error.
Additional Info (images, stack traces, etc)
- Operating System: macOS High Sierra Version 10.13.3
- Cypress Version: 2.1.0
- Browser Version: N/A
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:18 (3 by maintainers)
Top Results From Across the Web
Cypress failed to start on MacOS - e2e testing - Stack Overflow
Simply try ./node_modules/.bin/cypress install if you're using Cypress for the first time.
Read more >cypress-io/cypress - Gitter
Hi all, really quick one! I am trying to conditionally check a the url after a submit. If it contains 'foo' the do...
Read more >How To Generate Test Report In NUnit? - LambdaTest
In this tutorial, you will learn about generating reports in NUnit along with some new features and advantages of Extent Reports.
Read more >npm err! arg argument starts with non-ascii dash, this is probably ...
Environment Info: System: OS: macOS High Sierra 10.13.6 CPU: (8) x64 Intel(R) ... 3.4.1) √ Downloaded Cypress √ Unzipped Cypress √ Finished Installation...
Read more >[Solved]-npm oracledb installation fails-angular.js
[Solved]-npm oracledb installation fails-angular.js ... Because your proxies need authentication but node-oracledb support for them is still pending (see ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cbohatka-cardinal This is 100% a system permission issue. My guess is that you’ve installed
node
ornpm
withsudo
. Did any of you install node withnvm
? You could try that. It appears you installed a system wide node, which is not recommended.The error
EACCES
is coming fromnode
when we try to access the zip that we just downloaded. I don’t believe there’s anything Cypress can do about it - the binary app and CLI is downloaded 10,000+ times a day on all 3 operating systems so I don’t think there’s anything that’s on our end.You can try running
DEBUG=cypress:* npm install cypress
to reinstall the binary and see what happens.You can also try using version
3.x.x
of Cypress since we changed how the binary is cached and installed. I’m going to close this issue as there’s no way we can reproduce this since it’s too specific to your systems.Use this commnad:
sudo npm install --unsafe-perm=true --allow-root