我使用Git Fork作为我的 Git 客户端。最近我对 Node JS 的安装做了一些更改。这样做之后,我所有的预提交挂钩都会抛出一个错误,指出npm: command not found.
npm: command not found
我可以从终端使用 NPM,但由于某种原因 Git Fork 无法找到它。有谁知道为什么?
git git-fork
git ×1
git-fork ×1