小编Irv*_*dez的帖子

创建反应应用程序时出错 > Git 提交未创建错误:命令失败:git commit -m“使用创建反应应用程序初始化项目”

我是 Windows 用户,我安装了yarn、node js、git、npm。在我使用命令 npx create-react-app my-app 创建反应应用程序时开始创建,但几乎在最后我标记了此错误:

\n\n
PS C:\\React> npx create-react-app my-app\n\nCreating a new React app in C:\\React\\my-app.\n\nInstalling packages. This might take a couple of minutes.\nInstalling react, react-dom, and react-scripts with cra-template...\n\nyarn add v1.22.4\n[1/4] Resolving packages...\n[2/4] Fetching packages...\ninfo fsevents@1.2.12: The platform "win32" is incompatible with this module.\ninfo "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.\ninfo fsevents@2.1.2: The platform "win32" is incompatible with this module.\ninfo "fsevents@2.1.2" is an optional dependency and failed compatibility check. …
Run Code Online (Sandbox Code Playgroud)

windows git node.js reactjs yarnpkg

5
推荐指数
1
解决办法
5944
查看次数

标签 统计

git ×1

node.js ×1

reactjs ×1

windows ×1

yarnpkg ×1