mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #754] Issue: MODULE_NOT_FOUND for an action in Marketplace #473
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#473
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 @rajyraman on GitHub (Jul 17, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/754
Originally assigned to: @catthehacker on GitHub.
System information
Expected behaviour
Should run the workflow_dispatch action locally
Actual behaviour
Getting MODULE_NOT_FOUND error. The action folder with index.js is not in the container.
Workflow and/or repository
Steps to reproduce
act -j temp --use-gitignore falseactoutputLog
@cmjchrisjones commented on GitHub (Aug 10, 2021):
I'm seeing a similar problem using the https://github.com/actions/setup-dotnet workflow (and at the time of writing GitHub has a major severity issue so I can't do anything so thought I'd turn to try and do something locally)!
System information
act:actversion: 0.2.6Expected behaviour
Successful run
Actual behaviour
Getting MODULE_NOT_FOUND error.
Workflow and/or repository
workflow
Steps to reproduce
actoutputLog
@catthehacker commented on GitHub (Aug 10, 2021):
I would first recommend upgrading if you are really using
act 0.2.6since that is super old version and many things has changed since then.Also I see that you are using
working-directoryoption, which was fixed 4 hours ago in master: https://github.com/nektos/act/pull/772 so maybe check out the artefacts from that pull request and find out if it works for you.@catthehacker commented on GitHub (Aug 11, 2021):
@rajyraman I found the culprit in the issue you have and already have a fix, just need to figure out if there is any action
microsoft/powerplatform-actionsthat we can use as test (one that doesn't require much data or login)github.com/catthehacker/act-fork@e39132ece9@cmjchrisjones commented on GitHub (Aug 11, 2021):
Thanks, I'm not sure why that happened, I only installed it a couple of days ago using chocolatey and that was the version it got for me! I've now ran the chocolatey upgrade and running the latest 0.2.24 release - it appears to be working fine now
--envflag to pass environment vars without file #1460