Skip to content

pre-commit markdownlint broken #2099

@GernotMaier

Description

@GernotMaier

The current pre-commit markdownlint is broken with some incompatibility in node.js:

[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/Users/maierg/.cache/pre-commit/repos6r_5xa2/node_env-22.11.0/bin/node', '/Users/maierg/.cache/pre-commit/repos6r_5xa2/node_env-22.11.0/bin/npm', 'install', '--include=dev', '--include=prod', '--ignore-prepublish', '--no-progress', '--no-save')
return code: 1
stdout: (none)
stderr:
    npm error code EBADENGINE
    npm error engine Unsupported engine
    npm error engine Not compatible with your version of node/npm: eslint-visitor-keys@5.0.1
    npm error notsup Not compatible with your version of node/npm: eslint-visitor-keys@5.0.1
    npm error notsup Required: {"node":"^20.19.0 || ^22.13.0 || >=24"}
    npm error notsup Actual:   {"npm":"10.9.0","node":"v22.11.0"}
    npm error A complete log of this run can be found in: /Users/maierg/.npm/_logs/2026-04-01T07_03_31_907Z-debug-0.log

see also PR #2100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions