git 提交报错env: node: No such file

2023-06-20  本文已影响0人  多记录多学习

问题:git提交报错

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
env: node: No such file or directory
husky - pre-commit hook exited with code 127 (error)

解决: npx husky install

上一篇 下一篇

猜你喜欢

热点阅读