worried-pilot-52378
07/25/2022, 10:03 AMnpm notice Run `npm install -g npm@8.15.0` to update!
npm notice
npm ERR! code 1
npm ERR! path /app/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 /root/.cache/Cypress:
npm ERR!
npm ERR! EACCES: permission denied, mkdir '/root/.cache/Cypress'
npm ERR!
npm ERR! ----------
npm ERR!
npm ERR! Platform: linux-x64 (Debian - 11.4)
npm ERR! Cypress Version: 9.1.1
and in my .yml file I got the following:
- name: "npm ci"
run: >
docker run --rm -v ~/.npm-docker:/root/.npm -v $(pwd):/app -w /app repo/tag npm ci
any help would be very appreciated