Current behavior:
After npm install cypress@5.0.0 and npx cypress open I get:
Cypress cannot run because this binary file does not have executable permissions here:
/Users/me/Library/Caches/Cypress/5.0.0/Cypress.app/Contents/MacOS/Cypress
Reasons this may happen:
- node was installed as 'root' or with 'sudo'
- the cypress npm package as 'root' or with 'sudo'
Please check that you have the appropriate user permissions.
----------
Platform: darwin (19.6.0)
Cypress Version: 5.0.0
Desired behavior:
Cypress should open - works fine with version 4.12
Test code to reproduce
Cypress installed via NPM
Versions
Cypress: 5.0.0
OS: MacOS Catalina 10.15.16
Node: Tested on 12.18.2 and 14.8.0 using NVM
The same thing happens if I use ./node_modules/cypress/bin/cypress open instead of npx cypress. Both commands work if I revert back to Cypress 4.12.1
Current behavior:
After
npm install cypress@5.0.0andnpx cypress openI get:Desired behavior:
Cypress should open - works fine with version 4.12
Test code to reproduce
Cypress installed via NPM
Versions
Cypress: 5.0.0
OS: MacOS Catalina 10.15.16
Node: Tested on 12.18.2 and 14.8.0 using NVM
The same thing happens if I use
./node_modules/cypress/bin/cypress openinstead ofnpx cypress. Both commands work if I revert back to Cypress 4.12.1