2

使用 Windows 10,程序在 Powershell 上启动。使用最新的节点 v11.4。

Electron-forge 要求我安装 git 和 node。问题是我应该选择哪个 git,为什么不启动电子锻造?

编辑:安装 Git-scm,例如 Mike 告诉我的工作!我不知道他们为什么不在电子网站或 npm 数据库中精确说明。

4

1 回答 1

0

你可以在这里下载 git:https ://git-scm.com/download/win 。

电子锻造文档中它说:

注意:Electron Forge 需要 Node 6 或更高版本,加上 git installed

我不确定它需要 git 做什么,但我只能说它是必需的。

于 2018-12-15T10:55:22.127 回答