Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

163
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda