Пытаюсь настроить Electron на своем компьютере, чтобы настроить .exe-файлы для моих проектов HTML/CSS/JS.
Сейчас я занимаюсь разработкой в Windows и получил следующее:
[3088:0525/235414.074:ERROR:gpu_process_host.cc(991)] Не удалось запустить процесс графического процессора: error_code=18
[3088:0525/235414.145:ERROR:gpu_process_host.cc(991)] Не удалось запустить процесс графического процессора: error_code=18
[3088:0525/235414.157:ERROR:gpu_process_host.cc(991)] Не удалось запустить процесс графического процессора: error_code=18
[3088:0525/235414.161:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.163:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.165:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.171:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.173:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.176:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.176:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
I'm installing and setting up the framework and was expecting a simple "Hello from Electron with Bulma CSS" displayed on a web page
Current directory is: C:\proyectos\electron\testapp
package.json file:
{
"name": "testapp",
"version": "1.0.0",
"description": "My Electron test app",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron ."
},
"author": "Enrique Sifontes",
"license": "BSD-2-Clause",
"devDependencies": {
"electron": "^30.0.8"
}
}
Index.html file:
My Test App
window.addEventListener('load', (event) => {
document.querySelector(".hello").textContent = "Hello from Electron with bulma css!";
});
index.js file:
//This is the way to include modules with Node.js, in this case the
//Electron module.
//You can learn more about importing modules by searching
//information about "CommonJS" modules on the internet
const { app, BrowserWindow } = require('electron')
//Create our main windows, here you can set the initial size.
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600
})
//The HTML file that will be shown, we will create this file in the next section.
win.loadFile('index.html')
}
//This is our starting event, once "Ready", create our main window.
app.whenReady().then(() => {
createWindow()
})
Подробнее здесь: https://stackoverflow.com/questions/785 ... le-goodbye
FATAL:gpu_data_manager_impl_private.cc(448)] Процесс графического процессора непригоден для использования. До свидания ⇐ Html
Программисты Html
1763560976
Anonymous
Пытаюсь настроить Electron на своем компьютере, чтобы настроить .exe-файлы для моих проектов HTML/CSS/JS.
Сейчас я занимаюсь разработкой в Windows и получил следующее:
[3088:0525/235414.074:ERROR:gpu_process_host.cc(991)] Не удалось запустить процесс графического процессора: error_code=18
[3088:0525/235414.145:ERROR:gpu_process_host.cc(991)] Не удалось запустить процесс графического процессора: error_code=18
[3088:0525/235414.157:ERROR:gpu_process_host.cc(991)] Не удалось запустить процесс графического процессора: error_code=18
[3088:0525/235414.161:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.163:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.165:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.171:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.173:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.176:ERROR:gpu_process_host.cc(991)] GPU process launch failed: error_code=18
[3088:0525/235414.176:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
I'm installing and setting up the framework and was expecting a simple "Hello from Electron with Bulma CSS" displayed on a web page
Current directory is: C:\proyectos\electron\testapp
package.json file:
{
"name": "testapp",
"version": "1.0.0",
"description": "My Electron test app",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron ."
},
"author": "Enrique Sifontes",
"license": "BSD-2-Clause",
"devDependencies": {
"electron": "^30.0.8"
}
}
Index.html file:
My Test App
window.addEventListener('load', (event) => {
document.querySelector(".hello").textContent = "Hello from Electron with bulma css!";
});
index.js file:
//This is the way to include modules with Node.js, in this case the
//Electron module.
//You can learn more about importing modules by searching
//information about "CommonJS" modules on the internet
const { app, BrowserWindow } = require('electron')
//Create our main windows, here you can set the initial size.
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600
})
//The HTML file that will be shown, we will create this file in the next section.
win.loadFile('index.html')
}
//This is our starting event, once "Ready", create our main window.
app.whenReady().then(() => {
createWindow()
})
Подробнее здесь: [url]https://stackoverflow.com/questions/78534261/fatalgpu-data-manager-impl-private-cc448-gpu-process-isnt-usable-goodbye[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия