Skip to content

Github actions eslint: command not found #26593

Answered by technoir9
PulkitBanta asked this question in Actions
Discussion options

You must be logged in to vote

I had the same issue, adding yarn run before eslint fixed it for me.

In case of your file, you’d have to change the last line to:

      run: yarn run eslint . --ext .ts,.tsx

If you’re using npm then you should replace yarn run with npx.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@RobinClowers
Comment options

@tiennguyen1293
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment