question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Electron window is not launching

See original GitHub issue

Describe the bug On running npm start, the electron window is not launching. The following error is logged in the terminal,

(node:5462) Electron: Loading non-context-aware native module in renderer: ‘/home/v4d3r/Downloads/packages/Google-Assistant-Unofficial-Desktop-Client/node_modules/grpc/src/node/extension_binary/electron-v9.0-linux-x64-glibc/grpc_node.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.

To Reproduce Steps to reproduce the behavior:

  1. Go to the project directory
  2. run npm install
  3. run npm start
  4. The task-bar tray icon is started, however the app does not launch.

Expected behavior The landing window should pop up.

Screenshots

Tray Icon

image

Desktop (please complete the following information):

  • OS: GNU/Linux 5.8.13-arch1-1 with deepin20-wm
  • GAUDC Version 1.0.0-rc.1
  • Electron: v9.2.1

Additional context The same behaviour is noticed after building and running g-assist

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Melvin-Abrahamcommented, Oct 28, 2020

@sayoojsamuel Can you check if this commit helps?

1reaction
sayoojsamuelcommented, Oct 6, 2020

@Melvin-Abraham DevTools option gave a great head start. The issue was due to having dual screens with different orientation. The app defaults to open in the center of the screenspace, hence was hidden in the non visible area.

image

Would it be possible to align the app within one screen?

Read more comments on GitHub >

github_iconTop Results From Across the Web

BrowserWindow in electron does not open - Stack Overflow
If I run electron . or npm start the application seems to start, but no browser window opens. On console I have to...
Read more >
Win10-64bit : electron window not launching. #36 - GitHub
Running into this issue on windows10 64bit (node-8.0.0, npm-5.0.2). The application window doesn't launch after an npm start or a electron .
Read more >
electron apps not launching when using ... - Reddit
First, start the app from the terminal with that toggle and see if it works. If it does, use something like menulibre to...
Read more >
Quick Start | Electron
This guide will step you through the process of creating a barebones Hello World app in Electron, similar to electron/electron-quick-start.
Read more >
Launching Electron Apps From the Browser - Ship Shape
On Windows, the open-url event is not supported, and instead Electron will try to open a new instance of your application.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found