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 '/home/runner/work/_actions/andstor/jsdoc-action/v1/details./package.json #40

Closed
erezsh opened this issue Dec 5, 2021 · 3 comments

Comments

@erezsh
Copy link

erezsh commented Dec 5, 2021

I'm getting this error in my github actions: https://github.com/lark-parser/Lark.js/runs/4422204241?check_suite_focus=true

This is the yml: https://github.com/lark-parser/Lark.js/blob/master/.github/workflows/jsdoc.yml

Worth noting that this exact same yml worked before, and I didn't change it.

Also, running jsdoc locally works for me.

@KonradHoeffner
Copy link

KonradHoeffner commented Dec 6, 2021

I am getting the same error, it also worked before. It happens with @v1, @v1.2.0 and @v1.1.0.

@andstor
Copy link
Owner

andstor commented Dec 7, 2021

Hi 👋 @erezsh and @KonradHoeffner! Thanks for the heads up!

The problem seems to be due to GitHub recently changing the default Node.js version from 14 to 16 for all VM images (actions/runner-images#4446). The jsdoc-action depended on some CLI output which was removed in Node.js 16. I have now updated the action to v1.2.1 in order to support both Node.js versions.

@erezsh
Copy link
Author

erezsh commented Dec 7, 2021

I confirm the build is now successful. Thanks for the prompt response!

@erezsh erezsh closed this as completed Dec 7, 2021
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

3 participants