错误消息:您似乎缺少获取 Electron 所需的一些依赖项 运行

Error Message: It looks like you are missing some dependencies you need to get Electron running

在使用 npm install -g electron-forge 全局安装 electron-forge 之后,我在与 electron-forge 相关的终端中输入的任何命令都会给我以下消息:

It seems like it's missing some dependencies you need to run Electron. Make sure you have git and Node.js version 6.0.0+ installed

我不知道为什么它告诉我它缺少 git 和 Node,它们分别在本地和全局安装了版本 0.1.5 和 14.0.0。

git 0.1.5 is a partial implementation of access to git object database; for other not implemented things it requires native git command line.