Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT: no such file or directory, open '/var/run/act/workflow/event.json' #80

Open
Discreater opened this issue Jul 2, 2021 · 0 comments

Comments

@Discreater
Copy link

I'm using https://github.com/actionsflow/actionsflow. And this is my repo which can reproduce it: https://github.com/Discreater/actionsflow .

[0-curseforge-script.yml/send to discord 0 ]   🐳  docker build -t act-ilshidur-action-discord-0-3-2:latest --platform  /home/runner/.cache/act/Ilshidur-action-discord@0.3.2
[0-curseforge-script.yml/send to discord 0 ]   🐳  docker run image=act-ilshidur-action-discord-0-3-2:latest platform= entrypoint=[] cmd=["new" "2" "released:" "JustEnoughCalculation-1.15.2-3.6.1.jar"]
[0-curseforge-script.yml/send to discord 0 ]   | internal/fs/utils.js:269
[0-curseforge-script.yml/send to discord 0 ]   |     throw err;
[0-curseforge-script.yml/send to discord 0 ]   |     ^
[0-curseforge-script.yml/send to discord 0 ]   | 
[0-curseforge-script.yml/send to discord 0 ]   | Error: ENOENT: no such file or directory, open '/var/run/act/workflow/event.json'
[0-curseforge-script.yml/send to discord 0 ]   |     at Object.openSync (fs.js:462:3)
[0-curseforge-script.yml/send to discord 0 ]   |     at Object.readFileSync (fs.js:364:35)
[0-curseforge-script.yml/send to discord 0 ]   |     at Object.<anonymous> (/entrypoint.js:27:25)
[0-curseforge-script.yml/send to discord 0 ]   |     at Module._compile (internal/modules/cjs/loader.js:1015:30)
[0-curseforge-script.yml/send to discord 0 ]   |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
[0-curseforge-script.yml/send to discord 0 ]   |     at Module.load (internal/modules/cjs/loader.js:879:32)
[0-curseforge-script.yml/send to discord 0 ]   |     at Function.Module._load (internal/modules/cjs/loader.js:724:14)
[0-curseforge-script.yml/send to discord 0 ]   |     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
[0-curseforge-script.yml/send to discord 0 ]   |     at internal/main/run_main_module.js:17:47 {
[0-curseforge-script.yml/send to discord 0 ]   |   errno: -2,
[0-curseforge-script.yml/send to discord 0 ]   |   syscall: 'open',
[0-curseforge-script.yml/send to discord 0 ]   |   code: 'ENOENT',
[0-curseforge-script.yml/send to discord 0 ]   |   path: '/var/run/act/workflow/event.json'
[0-curseforge-script.yml/send to discord 0 ]   | }
Error: exit with `FAILURE`: 1
[0-curseforge-script.yml/send to discord 0 ]   ❌  Failure - Actions for Discord
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant