Tested with 2.6.0. Downgrading to 2.2.0 works, so guessing something changed with how node hooks work between then and now.
[INFO] Installing environment for git://github.com/getsentry/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/Users/dcramer/.volta/bin/npm', 'install', '-g', '.')
return code: 126
expected return code: 0
stdout: (none)
stderr:
Volta error: Global package installs are not supported.
Use `volta install .` to add a package to your toolchain (see `volta help install` for more info).
Check the log at /Users/dcramer/.cache/pre-commit/pre-commit.log
Tested with 2.6.0. Downgrading to 2.2.0 works, so guessing something changed with how node hooks work between then and now.