Questions tagged as 'electron'

0
answers

Failed to generate Electron build

I'm using the electron-builder to generate a linux installer. Through the travis service I integrated my project with bintray so that the build was sent to it, but I can not execute the project build for linux. I am using windows 10 and through...
asked by 23.03.2018 / 18:07
0
answers

Electron Closes Alone

Good morning. I'm working on a desktop platform using electron. I'm using the js-yml and writer-yml libraries. The problem I'm having is that with every query or change from these libraries or even opening bootstrap modals the application electr...
asked by 16.03.2018 / 14:43
0
answers

Problems Installing NPM Packages

I was installing the electron-builder dependency, but I can not complete the installation. Whenever I try to run the command to install this dependency, nodeJs returns this error: I am running the command in administrator mode and s...
asked by 22.03.2018 / 15:33
0
answers

Electron Converter PDF to Txt

I'm developing an electron app. The application should receive a PDF file and transform into txt. I used the PDF2JSON lib however, if used along with the electron, it gives worker error: "Uncaught Error: No PDFJS.workerSrc specified" . What wou...
asked by 23.02.2018 / 03:53
1
answer

Electron - TypeError var.on is not a function

Following the standard primary structure templates offered by the Electron documentation ( link ), I encountered errors as the development of an application. Displaying the required information, the message that appeared was: App threw an err...
asked by 23.01.2018 / 09:07
1
answer

Electron - Error 400 getting geolocation

I'm trying to use navigator.geolocation.getCurrentPosition and navigator.geolocation.watchPosition in a PWA project made with Quasar. It works very well in Browser and Cordova (Android), but an error occurs when publishing on El...
asked by 18.01.2018 / 18:48
0
answers

How to capture data from a POST request with Node.js?

I have a form created in an html page that will make a POST request, how to capture this data using Node.js and store it in a JSON file? (This is an application being built with Electron.)     
asked by 07.11.2017 / 18:16
0
answers

Build electron final size

I wonder if there is any way to build a build of an eletron app in a size less than 80 Mbs. I tried to generate on several platforms but it always stays above 121mb It's only 10 pages. However the electron in the node modules folder downloaded b...
asked by 09.10.2017 / 04:55
1
answer

Start DevTools with custom options on Electron

In my application I have a developerMode() function that calls the DevTools function developerMode() { var r = confirm(lang.developerModeConfirm); if (r == true) { remote.getCurrentWindow().toggleDevTools(); app.mode = 'dev'...
asked by 03.08.2017 / 19:01
1
answer

path must be a string or Buffer on console: node.js (electron)

I'm developing an application on electron, and one of my functions is to backup a json. When I open the ('fs') dialog box and save the file, I get no error in the console. When I open the dialog box and cancel the operation (do not...
asked by 19.07.2017 / 11:33