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

Executable biome not found #6

Closed
tyilo opened this issue Jul 19, 2024 · 2 comments
Closed

Executable biome not found #6

tyilo opened this issue Jul 19, 2024 · 2 comments

Comments

@tyilo
Copy link
Contributor

tyilo commented Jul 19, 2024

My pre-commit hook recently stopped working. I have tried changing the version of pre-commit, this hook and biome, but it still seems to happen.

Steps to reproduce:

$ docker run --rm -it python:alpine sh
# apk add git libstdc++
# pip install pipx
# cd /tmp
# mkdir test
# cd test
# git init
# touch a.js
# git add a.js
# cat > .pre-commit-config.yaml
repos:
  - repo: https://github.com/biomejs/pre-commit
    rev: v0.4.0
    hooks:
      - id: biome-check
        additional_dependencies:
          - "@biomejs/[email protected]"
^D
# pipx run pre-commit run --show-diff-on-failure --color=always --all-files
biome check..............................................................Failed
- hook id: biome-check
- exit code: 1

Executable `biome` not found
@tyilo
Copy link
Contributor Author

tyilo commented Jul 19, 2024

Seems to be a problem with pre-commit itself (or npm): pre-commit/pre-commit#3261

@ematipico
Copy link
Member

I am going to close it, this is an issue with Node.js 22.5.0. Revert to 22.4.1 until they release a patch. Context: nodejs/node#53934

@ematipico ematipico closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2024
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