I have this piece of code in the GUI part of my electron app which works perfectly alright when run from the terminal. I have packaged the app using 'electron-packager', then I started getting some issue.   Initially, the child process was te...
I made a simple Electron app:  main.js  const {app, BrowserWindow} = require('electron') const path = require('path') const url = require('url')  let win  function createWindow () {   win = new BrowserWindow({     width: 800,...
npm init npm install electron-prebuilt --save-dev Create index.js npm install electron-packager --save-dev npm run build OR electron-packager . --all   I used these steps to create an electronjs app in past and had placed it's executable file in...
I have to use node-usb in electron.atom to use that I am trying to install node-gyp and I am facing a Issue.  gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack     at ChildProcess.onCpExit (C:\Users\Name\AppData\Roamin g\npm\node_mo...
I am creating an electron app in windows. Everything is working fine but when I run the setup, the desktop shortcut icon is electron's icon. This is my package.json file:  {   "name": "happiness",   "version": "1.0.0&#...
I have one switch code to identify the windows arch: ia32 and x64, and by this i have two pepflashplayer.dll in my app folder but the weight of the two files is 45.8mb (And the final weight of the app is 74mb), and i think that my app weigh too much...
I'm working on an electron app that controls gulp tasks via gui. You click on a task and it runs. Pretty simple stuff. On macOS, when I run npm start it runs just fine, but when I package it with electron-packager, I get this error:  Uncaught Exc...
I have an application which use electron packager for build app on Mac.   My package.json:   {     "name": "desktop_v2"     "productName": "desktop v2",     "version": "1.0.0",     "license": &#...
Does Squirrel support an Electron app installation to ProgramFiles(x86) ?  If yes, could you please explain me how it is done with an Electron app ?  I could not find anything about it. I have done the installation to %localappdata% yet. But it is ve...
I am using NightmareJS with Electron.  Everything works as expected in development. However, when I pack my application with electron packager, I get a new window every time when I try to run nightmareJS code.  I have already set NightmareJS property...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.