npm ERR! could not determine executable to run

这篇文章发表于 阅读 2

git commit报错:

npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in:

可以删除.git目录下的hooks目录

m -rf .git/hooks npm install