新建/批改.huskyrc文件
vim ~/.huskyrc

export PATH="/usr/local/bin/:$PATH"

默认npm在/usr/local/bin下, 如果不是, 则手动查找npm所在位置, 而后再做相应的export Path
where npm