Использование: Windows 10, NMP 6.4.1, Node v10.13.0, GIT 2.8.4
Простое приложение для отображения записей IMDB:
https://ide.c9.io/learnwithcolt/webdevbootcamp папка APIS / movie_search_app
Загружен для локального запуска в Windows. Работает нормально.
Когда я бегу:
electron-forge init my-new-app
√ Checking your system
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": "imdb",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"ejs": "^2.6.1",
"express": "^4.16.4",
"request": "^2.88.0"
},
"devDependencies": {
"electron": "^3.0.8"
}
}
То же самое происходит с другими проектами. CMD работает от имени администратора.