npm ERR! An unknown git error occurred

1、解决方案清除缓存

npm cache clean --force

2、使用淘宝镜像安装

npm install --registry=https://registry.npm.taobao.org

3、node 版本 14

posted on 2023-12-29 22:01  topguntopgun  阅读(570)  评论(0编辑  收藏  举报

导航