【发布时间】:2020-02-06 13:54:19
【问题描述】:
我正在尝试开始一个新的 gatsby 项目。运行命令“gatsby new [我的项目名称]”时出现错误。
Tomers-MBP:个人项目 tomermatmon$ gatsby new haifa-dev info 从 git 创建新站点:https://github.com/gatsbyjs/gatsby-starter-default.git xcrun:错误:无效的活动开发者路径 (/Library/Developer/CommandLineTools),缺少 xcrun:/Library/Developer/CommandLineTools/usr/bin/xcrun
错误
命令失败,退出代码为 1 (EPERM):git clone https://github.com/gatsbyjs/gatsby-starter-default.githaifa-dev --single-branch
错误:命令失败,退出代码 1 (EPERM):git clone https://github.com/gatsbyjs/gatsby -starter-default.git haifa-dev --single-branch
error.js:58 makeError [lib]/[gatsby-cli]/[execa]/lib/error.js:58:11
index.js:112 句柄承诺 [lib]/[gatsby-cli]/[execa]/index.js:112:26
next_tick.js:68 process._tickCallback 内部/进程/next_tick.js:68:7
【问题讨论】:
标签: git github terminal gatsby