sourcetree husky npm command not found

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

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

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

你可能感兴趣的:(sourcetree husky npm command not found)