Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

162
Vistas
Electron Quote App: GPU_Init.cc(457) error

I'm trying to create a simple quote app using electron.js. A javascript file will be called from the HTML page of the app, the javascript file will call api.quotable.io API, and the response will be displayed as InnerHTML of the HTML file.

When I'm running the app, I'm getting an error message:

[16368:1207/011918.044:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is

Can anyone please help me to understand, why the error is coming and how can I resolve the error?

Source Code of HTML, CSS and JS file:

const got = require('got');

document.getElementById("quote").innerHTML = "ABCD";

got.get('https://api.quotable.io/random', {
    responsetype: 'json'
  })
  .then(res => {
    const quote = JSON.parse(res.body).content;
    document.getElementById("quote").innerHTML = quote;
  })
  .catch(err => {
    console.log(`Error: ${err.message}`);
  });
body {
  background-color: #222233;
  color: #AACCFF;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  height: 150px;
  overflow: hidden;
  border-radius: 5px;
}
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Quote Widget</title>
</head>

<body>
  <link rel="stylesheet" href="../css/styles.css">
  <div id="quote"></div>
</body>
<script>
  require('../js/index.js');
</script>

</html>

[N.B.:

  1. I'm trying to create the application on Windows 10.
  2. I'm following a youtube playlist, where it is mentioned, how to create the application.

Link of video: https://www.youtube.com/watch?v=qyAG4M9eH8o&list=PLC3y8-rFHvwiCJD3WrAFUrIMkGVDE0uqW&index=7]

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda