Most voted "electron" questions
Electron (formerly known as Atom Shell) is a framework created by Github to write cross-Platform desktop applications using HTML, CSS, and Javascript. Electron is based on io.js and Chromium.
Learn more…90 questions
Sort by count of
-
0
votes1
answer169
viewsHow do I access the DOM elements in the Electron?
I’m new to Electron, and I’m trying to do a function from a click on a menu. Follow my example below. index.html <!DOCTYPE html> <html lang="pt-br" dir="ltr"> <head> <meta…
-
0
votes1
answer1181
viewsHow to set . exe compatibility mode by prompt?
I’m creating an application in Lectron, but notifications only work if the application is running in windows 7 compatibility mode. I currently ask the user to right-click the . exe, go to…
-
0
votes2
answers205
viewsElectron locking when opening more than one application
I’m going through a little problem :c Whenever I open more than one Electron application and it starts loading a new main window for the user to start using the application, the entire operating…
-
0
votes3
answers169
viewsModal doesn’t close on the Electron, how to fix it?
I have a modal problem. My problem is that the modal, does not close when clicking the button, I tried several ways, but none worked. How can I fix this? <script> var read =…
-
0
votes0
answers438
viewsAccess local database with Electron?
When developing a desktop application, you may need to access the local database. Electron, allows to use HTML, CSS and Javascript. HTML and CSS is not possible and Javascript is not recommended.…
-
0
votes1
answer532
viewsRun program on linux in an easier way (generated by Electron)
build with this command ng build --Prod && Electron-packager . gitrun --Platform=linux --Arch=x64 --icon=Assets/icons/logo.png To run the file I have to enter the project folder to open the…
-
0
votes1
answer294
viewsTake folder and file path (at the same time) with Electron
Good morning guys. I wonder if you have how to get the path of files and folders (at the same time) using Electron. I am using 'dialog.showOpenDialog()', but it returns either just folders or only…
-
0
votes0
answers48
viewsHow do I make the exe generated by Electron-packager smaller?
I would like my Electron executable to get smaller using Electron-packager, there is some alternative?…
-
0
votes1
answer182
viewsBack to previous page : Electron
I’m using Electron to develop an application where your goal is to leave some selected sites there. Now I’m facing a problem that when I go to a link of one of the options that are in the…
-
0
votes0
answers55
viewsCheck if the mouse or keyboard has been triggered
I’m starting at the Electron, with that I need some help. How do I detect if the keyboard or mouse has been triggered? If one of the two has not been touched in less than 1 minute run a command.…
-
0
votes1
answer67
viewsWhy do Electron applications boot faster the second time?
I’m working with the Electron right now and I noticed something very interesting. Always the first time I open my application with Electron, it takes a long time to boot the window. But the next few…
electronasked 4 years, 5 months ago JeanExtreme002 5,663 -
0
votes0
answers21
viewsError loading external URL in Electron.js application
I am using Electron.js to load an external url. In this case, the whatsapp web. However, the following error is occurring: "O Whatsapp funciona com Google Chrome 49 ou superior". I already changed…
electronasked 4 years, 2 months ago Elias Douglas 1 -
0
votes0
answers20
viewsStart http server inside Electron
I wonder if it is possible to start a Rest server within the Electron. I need that while the application is open it is possible to access an http route.
-
0
votes0
answers18
viewsjavascript window.moveBy() move the window diagonally
I’m starting to play around with Electron and javascript and I’m trying to make a window become wider over time, so I try to loop the window.resizeTo(tamanho da janela + 1,0) but the window widened…
-
0
votes0
answers170
viewsError inserting data into Lokijs with Vuejs
Hello, I am starting in Electron with Vuejs1.0 && Lokijs and I have had difficulty finding the solution to the error that happens whenever I will insert a second given to Collection: Error:…
-
0
votes1
answer722
viewsUpdate Ode.js in Ubuntu
I’m not able to update Node.js in Ubuntu. I did the installation, but it appears that the version was installed: Node = V8.10.0 Npm = v5.3.2 On the site it says that the latest version is 10.16, why…
-
0
votes1
answer490
viewsFailed to install Electron in windows 10
I’m trying to install Electron in windows 10 using these commands: - git clone https://github.com/electron/electron-quick-start - cd electron-quick-start - npm install && npm start I’m…
-
0
votes2
answers371
viewsHow to read a. txt file in Electron?
I’m trying to read all the contents of a file .txt through Electron possessing the following files: script / index.js index.html file.txt package json. index js. const fs = require('fs'); function…
-
0
votes1
answer31
viewsOpen DIST Urls
I’m having a problem when I build the project with Electron to call an UPDATE screen of the project in Angular since dist do has index.html, in the development mode managed to call quiet.…
-
0
votes1
answer140
viewsElectron - Browserwindow does not load pages with the directory other than root
I started to develop an application with Electron, I had never used the framework before, I always used for organization purposes to put the files in separate directories, currently this is my file…
-
0
votes1
answer132
viewsDoubt in Javascript + Sqlite3, return of Select
Hello, I need to retrieve information from a bank and display on a table. I’m using Electron and sqlite3. I have this function to do the consultation. function getTable(){ var obj = []; var aux =…
-
0
votes1
answer29
viewsShow javascript data inside the rendering part of Electronjs
I want to run a JS file along with Electron and return its result within the rendering part of Electron Code I want to show inside the Electron in the HTML part: const si =…
-
0
votes1
answer204
viewsSequelize error: [...]. belongsToMany([...]) requires through option, pass either a string or a model
I’m importing models using the autoloader (index.js) of the sequelize. An Accesslevel model has a relationship with the Menu model (N: N), through the Accesslevelhasmenu model. What should happen?…
-
0
votes1
answer80
viewsElectron Node import returns "Undefined"
I want to use Electron with Node, but when importing this framework following the step by step of tutorial of the site, it always returns undefined. // Abaixo tanto o "app" quanto o "BrowserWindow"…
-
0
votes0
answers79
viewsHow to route pages on the Electron?
I have an application in Electron with several HTML files and I would like to create routes in Electron as well as in Express. For example, on the home page of the application the user should log…
-
0
votes1
answer162
viewsElectron creating various folders and files in my directory
I am developing an application with Electron where I need to store some important data in a directory that I created in %APPDATA%. The problem is that whenever I create this folder (I create using…
electronasked 4 years, 4 months ago JeanExtreme002 5,663 -
0
votes2
answers191
viewsproblems with __dirname in Electron js
i am taking a course that uses Electron 5.0.13, and is giving that error in the terminal of my application in Electron Uncaught ReferenceError: __dirname is not defined at eval (index.js?bdb9:4) at…
-
0
votes1
answer23
viewsHow can I access a component and make it appear only in an Electron + Quasar window?
I would like the component to be displayed exactly in a single window, but I don’t know how to do it precisely, what I was able to do was just a small base of a whole, so far:…
-
0
votes0
answers55
viewsElectron 12: "Require is not defined"
Greetings. I am creating a frameless program on Electron (to make a custom frame) and am getting the error Uncaught ReferenceError: require is not defined. My tree is next: - raiz do projeto | -…
-
0
votes0
answers19
viewsChange application name in Electron notification
How do I change the name of the application that appears in the Windows 10 notification using Electron with React? I highlighted what I want to change with a red square. My notification is called…
-
0
votes1
answer49
viewsHow to add a field of objects returned from firebase ( vuejs + firebase )
Hello, I’m trying to develop an ERP platform with vuejs using firebase as a storage solution, I’m trying to add all the 'value' fields of the 'expense' collection documents that loads the 'Name'…
-
0
votes0
answers19
viewsReturn Rows through IPC in Electronjs
Save my friends. I’m studying a little bit about Electron, and I came across the following problem in interprocessual communication. I have an index.html (rendered process) that emits an event pro…
-
-1
votes2
answers439
viewsAuto Updater Electron
I’m using Electron + VueJS, and would like to know how to implement the auto updater, I did a little research, but I didn’t get anything, to be honest, I didn’t understand how it works, where it…
-
-1
votes1
answer66
viewsRap sheet on top of each other!
I have a problem. I’m using the lokijs with vuejs, to register a user via modal, so far so good, only that every time I register a new user, this new registration replaces the old one. How do I fix…
-
-1
votes1
answer910
viewsnpm ERR! code EJSONPARSE
Somebody please help me solve this problem? C:\Users\teamc\Desktop\Electron>npm i asar --save-dev npm ERR! file C:\Users\teamc\Desktop\Electron\package.json npm ERR! code EJSONPARSE npm ERR!…
-
-1
votes2
answers78
viewsPlace a condition on an exported function in Node.js
I’m having a pertinent question, I’m starting a project in Lectron where I have to make the connection with two different banks, one location and the other in clouds, in my Node js code, I have two…
-
-1
votes2
answers311
viewsPull Url of the variable in window.location.href
I’m creating an Electron application where I have a field that the person inserts a url and when she clicks on the submit is directed to that url. My html is like this: <body> <form…
-
-1
votes1
answer77
viewsHow to integrate Chart.js into an Electron application?
Hello, my dear friends! I am creating an Electron application in which I must generate graphics. Everything ofline! I am facing the following problem: My chart does not appear on my page! As shown…
-
-1
votes1
answer58
viewsError: Please install tedious package Manually
I am trying to do a project in Node.js / Electron and need to get information from an SQL Server database. When I run the line below, the error appears: const db = new Sequelize('banco', 'sa',…
-
-3
votes0
answers12
viewsBuild React Electron app for linux
I’m a beginner on Electron and I made my first app using React and Electron but I’m having a lot of problems generating one. deb to install on linux. It generates the . deb properly however the file…