npm ERR! could not determine executable to run

更新于 阅读 29

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