简体   繁体   中英

electron-forge: Supposedly missing dependencies of git and node but both appear in package.json

I put in the terminal: electron-forge import , and I get this message:

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+

But this is my 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" }

As you can see I have git (^0.1.5) and node (^14.0.0) supposedly installed. I don´t understand why I get this error.

How can I solve it?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM