Closed alexkuc closed 4 months ago
Original for abbreviation ENOENT
: https://stackoverflow.com/questions/19902828/why-does-enoent-mean-no-such-file-or-directory
Re-running leads to exactly the same error which is why 3rd attempt was cancelled
Failed line in the log:
converting pot to PHP...
node:internal/fs/utils:347
throw err;
^
Error: ENOENT: no such file or directory, open '/home/runner/work/barista/build/js-translations.pot'
at Object.openSync (node:fs:590:3)
at Object.readFileSync (node:fs:458:35)
at convertPOTToPHP (/home/runner/work/barista/barista/node_modules/@types/wordpress__i18n/node_modules/@wordpress/i18n/tools/pot-to-php.js:107:24)
at Object.<anonymous> (/home/runner/work/barista/barista/node_modules/@types/wordpress__i18n/node_modules/@wordpress/i18n/tools/pot-to-php.js:136:1)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:[22](https://github.com/eventespresso/barista/actions/runs/8911677485/job/24475383032#step:10:23):47 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/home/runner/work/barista/build/js-translations.pot'
https://github.com/eventespresso/barista/actions/runs/8911677485/job/24475383032#step:10:20
Failed line in the shell script: https://github.com/eventespresso/barista/blob/35bcecec5044a67970d8b9e1e416bc235b348d3f/tools/copy-changes.sh#L91-L92
File js-translations.pot
is created by babel.config.js
https://github.com/eventespresso/barista/actions/runs/8911677485/attempts/1