-
Notifications
You must be signed in to change notification settings - Fork 176
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
Cloning the repo and running act #2
Comments
Same occurs for me (Windows 10, I did not use the official example, but my own project file: See my .github/workflows/build.ymljobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
# below fails
- name: Set up Python
uses: actions/setup-python@v2 See result[CI/build] ⭐ Run actions/[email protected]
[CI/build] ✅ Success - actions/[email protected]
[CI/build] ⭐ Run actions/setup-python@v2
[CI/build] ☁ git clone 'https://github.com/actions/setup-python' # ref=v2
[CI/build] �🐳 docker cp src=act/actions-setup-python@v2 dst=/actions\
| internal/modules/cjs/loader.js:628
| throw err;
| ^
|
| Error: Cannot find module '/github/workspace/\actions\actions-setup-python@v2\dist\i
ndex.js'
| at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
| at Function.Module._load (internal/modules/cjs/loader.js:527:27)
| at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
| at internal/main/run_main_module.js:17:11 {
| code: 'MODULE_NOT_FOUND',
| requireStack: []
| }
[CI/build] ❌ Failure - actions/setup-python@v2 |
@kinafu I believe that it is related to this issue: nektos/act#228 According to the project README: https://github.com/nektos/act#known-issues
I'm still confused about what the In my case, my folder is structured like this:
|
Note that was only an issue when I tried to create a new action inside of the In the end, I created a separate repo for my action & am able to execute a self referencing |
I am just starting on trying to use act. However on cloning the repo and running act on a windows machine I get the following error
Cannot find module '/github/workspace/\actions\actions-setup-node@v1\dist\index.js'
Full error log here
Is there something i am missing ?
The text was updated successfully, but these errors were encountered: