'Cypress file permissions on Mac issue

Error: EACCES: permission denied, open ‘/Users/palisaski/Library/Application Support/Cypress/cy/production/projects/CyZavrsniProjekat-3356f9979cb849d912b38aef8a005fde/bundles/cypress/integration/homePageTests.js’

On Mac, tried to run some scripts, but keep getting this message. I am using sudo command to run cypress.



Solution 1:[1]

Cypress requires root access, you need to install it accordingly and make sure you have the proper permissions. See #1281

Getting error "EACCES: permission denied" when i install cypress

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Pali