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

Missing index.js Error #63

Open
jjkirby opened this issue Oct 10, 2022 · 3 comments
Open

Missing index.js Error #63

jjkirby opened this issue Oct 10, 2022 · 3 comments

Comments

@jjkirby
Copy link

jjkirby commented Oct 10, 2022

Running your latest Logerfo/[email protected]. I get this error when executing:

Run Logerfo/[email protected]
with:
github-token: ***
release: test-13
release-regex: ^release/(.*)
dev: develop
master: main
label: gitflow
auto-merge: false
require-merge: false
Error: File not found: '/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js'

I did notice your main branch does not have the dist/index.js but release branch does?

@Logerfo
Copy link
Owner

Logerfo commented Oct 10, 2022

You're right, thank you for reporting. I messed up the release process. It's been a while... almost three years without releasing.
I pushed up to release and 0.0.5 again. Can you retry, please?

@jjkirby
Copy link
Author

jjkirby commented Oct 10, 2022

Nope:

/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:346
client = new github.GitHub(token);
^

TypeError: github.GitHub is not a constructor
at Object.31 (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:346:14)
at webpack_require (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:24:31)
at startup (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:43:19)
at /home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:47:18
at Object. (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:50:10)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)

@Logerfo
Copy link
Owner

Logerfo commented Oct 11, 2022

Hmm, seems like a breaking change at @actions/github. I've made a new change for both release and 0.0.5, but I'm currently without a testing environment, so your feedback is very welcome.

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

2 participants