mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #834] exec: "node": executable file not found in $PATH: unknown #507
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#507
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GabrieleCalarota on GitHub (Oct 6, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/834
System information
act:actversion: 0.2.19Expected behaviour
Should run without errors
Actual behaviour
Docker fails not finding node exec in PATH
Workflow and/or repository
https://github.com/SquisEat/pull-request-comment-trigger
workflow
Steps to reproduce
actoutputLog
act -v issue_comment@GabrieleCalarota commented on GitHub (Oct 6, 2021):
@catthehacker Very annoying this though. It worked the first time, than never worked again (I reinstalled act and docker few times)
@catthehacker commented on GitHub (Oct 7, 2021):
Please follow the template.
@GabrieleCalarota commented on GitHub (Oct 7, 2021):
Update, please reopen. I followed the template and gave every details I have. Issue should be reproducible now and seems very clear to me what's wrong, I have no clue how to fix it @catthehacker
@ChristopherHX commented on GitHub (Oct 7, 2021):
Thats odd, this version of act isn't even released yet (act still has version 0.2.x)
Please follow the template and provide the full log, not only the part you provided. Your provided log is missing the important part of the log, e.g. which docker image it used to ran your steps.
act requires that the executing docker image has node installed and in
$PATH, unlike actions/runner which doesn't require it.Also which commandline did you use to run act?
act ...It isn't common to ping a maintainer within 24h after opening an issue
@GabrieleCalarota commented on GitHub (Oct 8, 2021):
How do I do this? There's no doc in the README.md about this!
I think this is the key point here, I've looked on google. I have no clue on this.
act -v issue_commentUpdated 0.2.14
Can you please reopen now?
@ChristopherHX commented on GitHub (Oct 8, 2021):
Hmm,
catthehacker/ubuntu:act-latestshould containnodeout of box.After reading your full log, the image should work without changes. Only if you use a custom image you need to install node yourself, but you are using a default image.
You are correct
Maybe try updating the image. I think act keeps using a broken image version. I doubt I will be able to reproduce this without the output of
docker imageson your system.Then run act again. I never had such a problem.
I don't have the permission to do that.
@catthehacker commented on GitHub (Oct 9, 2021):
Current act release is v0.2.24 (https://github.com/nektos/act/releases/tag/v0.2.24)
I recommend using latest version since each version we fix a lot of issues and improve experience
Latest versions for available package managers can be seen in README.md
@GabrieleCalarota commented on GitHub (Oct 10, 2021):
Thanks, it worked pulling again the image.
Anyway this is the output of
docker images@catthehacker commented on GitHub (Oct 11, 2021):
So everything works now?
@GabrieleCalarota commented on GitHub (Oct 12, 2021):
Yes thank you, as @ChristopherHX suggested the image was broken, I had to pull it again
Issue can be closed now @catthehacker
I'll take advantage, I've seen there's no discussion panel here, where can I ask a question? Should I open another issue?
I would like to know how to print logs of variables in a custom actions running it locally with act