[BUG] husky github desktop nvm 执行git操作时报错:“PREFIX“、husky/pre-push: 4: npm: not found
2024-09-04nvm is not compatible with the "PREFIX" environment variable: currently set to "/usr/lib/github-desktop/resources/app/git"Run `unset PREFIX` to unset it..husky/pre-push: 4: npm: not founderror: failed to push some refs to 'github.com:SwanHubX/swanlab.gi_husky -pre -commit hook exited with code
npm install安装报错
2024-08-15完后,还是报那个错误,请继续执行如下命令,再执行npm install亲测有效。如果上述代码还是不行,就重新安装一下node和npm,看版本是否匹配。再执行 npm install 就可以了。解决办法1:(没有解决我的问题)_not compatible with your version of node