husky - .git can't be found (see https://typicode.github.io/husky/#/?id=custom-directory)
npm ERR! code 1
npm ERR! path D:\Donghua\yiqi\yiqi\bosp-os-sys
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c husky install
npm ERR! A complete log of this run can be found in: D:\NVM\node_cache\_logs\2024-10-15T08_25_20_903Z-debug-0.log
修改package.json中的 "prepare": "cd .. && husky install"
我的.git在该项目的父级
cd .. 我觉得是跟你的.git文件在同一级