webhintio / hint

💡 A hinting engine for the web

Home Page:https://webhint.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: EACCES: permission denied, copyfile

Th3S4mur41 opened this issue · comments

🐞 Bug report

Description

After test run is completed, the process fails on CI when trying to copy messages.js

In the example below, the test runs in the mcr.microsoft.com/playwright docker container

Details

[hint] [hint] [Error: EACCES: permission denied, copyfile '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/en/messages.js' -> '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/messages.js'] {
[hint] [hint]   errno: -13,
[hint] [hint]   code: 'EACCES',
[hint] [hint]   syscall: 'copyfile',
[hint] [hint]   path: '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/en/messages.js',
[hint] [hint]   dest: '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/messages.js'
[hint] [hint] }
[hint] [hint] [Error: EACCES: permission denied, copyfile '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/en/messages.js' -> '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/messages.js'] {
[hint] [hint]   errno: -13,
[hint] [hint]   code: 'EACCES',
[hint] [hint]   syscall: 'copyfile',
[hint] [hint]   path: '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/en/messages.js',
[hint] [hint]   dest: '/__w/mh-photography.com/mh-photography.com/node_modules/@hint/formatter-html/dist/src/assets/js/scan/_locales/messages.js'
[hint] [hint] }
[hint] [hint] npm run hint exited with code 1

See e.g. https://github.com/Th3S4mur41/mh-photography.com/actions/runs/4098956889/jobs/7068469898