Page MenuHomePhabricator

PatchDemo creation fails due to Cypress cache creation
Closed, DuplicatePublic

Description

Background

PatchDemo creation failed for me yesterday and today due to Cypress cache creation error

Technical details

Return on patch demo creation

npm ERR! path /var/www/html/wikis/7ca27efd28/w/build/codex/node_modules/cypress
npm ERR! command failed
npm ERR! command sh -c node index.js --exec install
npm ERR! Cypress cannot write to the cache directory due to file permissions
npm ERR! 
npm ERR! See discussion and possible solutions at
npm ERR! https://github.com/cypress-io/cypress/issues/1281
npm ERR! 
npm ERR! ----------
npm ERR! 
npm ERR! Failed to access /var/www/.cache/Cypress:
npm ERR! 
npm ERR! EACCES: permission denied, mkdir '/var/www/.cache'
npm ERR! 
npm ERR! ----------
npm ERR! 
npm ERR! Platform: linux-x64 (Debian - 12.5)
npm ERR! Cypress Version: 13.2.0