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 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 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": &#...
const { app } = require('electron')   I want to call app.disableHardwareAcceleration() before app.ready()...
I am confused on the role of package.json as far as packaging is concerned.  AFAIK, those under dependencies will be included in the distribution package and those under devDependencies will not be included.  However, I did an experiment to try to mi...
I'm trying to package my Electron app for macOS, however when I try to package it using Windows I get this error: The "path" argument must be one of type string, Buffer, or URL. Received type undefined I'm using Electron 4.2.6 and ele...
I am working with Electron and when I want to run my package I use the npm start command or a more advance command to start a specific build. ex for windows.  In my package.json I only call for the basic main.js and index.html. In the main.js file I...
I built a small application using Vue,tailwindcss and electron and I was asked to package it for mac, packing for windows results in me getting a working app but when I try to package for mac I keep getting an error.(I am on windows 8.1)  I ran this...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.