gpt4 book ai didi

node.js - Electron 伪造:据说缺少git和node的依赖项,但都出现在package.json中

转载 作者:行者123 更新时间:2023-12-03 12:40:42 27 4
gpt4 key购买 nike

我将终端放在electron-forge import中,并收到以下消息:

It looks like you are missing some dependencies you need to get Electron running. Make sure you have git installed and Node.js version 6.0.0+



但这是我的package.json:
{
"name": "memoryassitant-electron",
"version": "1.0.0",
"description": "software para estudiantes de asistencia en procesos de memorización de información diversa",
"main": "index.js",
"dependencies": {
"electron-forge": "^5.2.4",
"git": "^0.1.5",
"node": "^14.0.0"
},
"devDependencies": {
"electron": "^8.2.3"
},
"scripts": {
"test": "test",
"dev": "electron index.js",
"test1": "electron frontend.html",
"installer1": "electron-forge import"
},
"keywords": [
"memory",
"learning",
"asistant"
],
"author": "Guillermo Baldán",
"license": "ISC"
}

如您所见,我已经安装了git(^ 0.1.5)和node(^ 14.0.0)。我不明白为什么会收到此错误。

我该如何解决?

最佳答案

关于node.js - Electron 伪造:据说缺少git和node的依赖项,但都出现在package.json中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61377370/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com