Yarn init 报错

462 阅读1分钟

yarn init的时候   并没有像 npm init 直接顺利初始化,而是报以下错误

我是直接 在 git bash 去 操作的,报的错,没有找到真正原因

通过cmd  命令 进入指定目录下,执行 yarn init ,可以成功进行初始化