electron-forge

Unable to build with electron-packager within electron-forge

喜你入骨 提交于 2021-02-08 20:38:22
问题 I have created a default project with electron-forge. When I try to package my project with the command electron-forge , the process exits with the following error. What am I doing wrong? I followed the instructions to a tee at electron-forge. $ electron-forge package ✔ Checking your system ✔ Preparing to Package Application for arch: x64 ✔ Compiling Application ✔ Preparing native dependencies ⠦ Packaging Application An unhandled rejection has occurred inside Forge: Command failed: npm prune

Unable to build with electron-packager within electron-forge

做~自己de王妃 提交于 2021-02-08 20:37:00
问题 I have created a default project with electron-forge. When I try to package my project with the command electron-forge , the process exits with the following error. What am I doing wrong? I followed the instructions to a tee at electron-forge. $ electron-forge package ✔ Checking your system ✔ Preparing to Package Application for arch: x64 ✔ Compiling Application ✔ Preparing native dependencies ⠦ Packaging Application An unhandled rejection has occurred inside Forge: Command failed: npm prune

Unable to build with electron-packager within electron-forge

爱⌒轻易说出口 提交于 2021-02-08 20:32:21
问题 I have created a default project with electron-forge. When I try to package my project with the command electron-forge , the process exits with the following error. What am I doing wrong? I followed the instructions to a tee at electron-forge. $ electron-forge package ✔ Checking your system ✔ Preparing to Package Application for arch: x64 ✔ Compiling Application ✔ Preparing native dependencies ⠦ Packaging Application An unhandled rejection has occurred inside Forge: Command failed: npm prune

how can you overwrite or remove the signature “electron.app.Electron” from the desktop notification

不打扰是莪最后的温柔 提交于 2021-02-04 21:05:37
问题 I'm trying to remove or overwrite my notification signature made by electron. here is what i get: I am trying to whether overwrite the signature electron.app.Electron or remove it completely, by knowing that I have tested it on test mode ( npm run start ), and also when packed as .exe also I have noticed that I remove the icon the signature goes a way, but it is very unpleasant without one. my current notification code is bellow: function showNotification() { const notification = new

how can you overwrite or remove the signature “electron.app.Electron” from the desktop notification

我怕爱的太早我们不能终老 提交于 2021-02-04 21:05:30
问题 I'm trying to remove or overwrite my notification signature made by electron. here is what i get: I am trying to whether overwrite the signature electron.app.Electron or remove it completely, by knowing that I have tested it on test mode ( npm run start ), and also when packed as .exe also I have noticed that I remove the icon the signature goes a way, but it is very unpleasant without one. my current notification code is bellow: function showNotification() { const notification = new

electron-forge with two windows : how to render the second window? electron-react app

亡梦爱人 提交于 2021-01-07 01:34:38
问题 I realized that the second electron browser window, does actually opens, but it doesn't render correctly. In /tools/forge/forge.config.js I have two entryPoints for the two windows: entryPoints: [ { // React Hot Module Replacement (HMR) rhmr: 'react-hot-loader/patch', // HTML index file template html: path.join(rootDir, 'src/index.html'), // Renderer js: path.join(rootDir, 'src/renderer.ts'), // Main Window name: 'main_window', // Preload preload: { js: path.join(rootDir, 'src/preload.ts'), }

electron-forge with two windows : how to render the second window? electron-react app

陌路散爱 提交于 2021-01-07 01:33:45
问题 I realized that the second electron browser window, does actually opens, but it doesn't render correctly. In /tools/forge/forge.config.js I have two entryPoints for the two windows: entryPoints: [ { // React Hot Module Replacement (HMR) rhmr: 'react-hot-loader/patch', // HTML index file template html: path.join(rootDir, 'src/index.html'), // Renderer js: path.join(rootDir, 'src/renderer.ts'), // Main Window name: 'main_window', // Preload preload: { js: path.join(rootDir, 'src/preload.ts'), }

electron-forge with two windows : how to render the second window? electron-react app

只愿长相守 提交于 2021-01-07 01:33:15
问题 I realized that the second electron browser window, does actually opens, but it doesn't render correctly. In /tools/forge/forge.config.js I have two entryPoints for the two windows: entryPoints: [ { // React Hot Module Replacement (HMR) rhmr: 'react-hot-loader/patch', // HTML index file template html: path.join(rootDir, 'src/index.html'), // Renderer js: path.join(rootDir, 'src/renderer.ts'), // Main Window name: 'main_window', // Preload preload: { js: path.join(rootDir, 'src/preload.ts'), }

Error Message: It looks like you are missing some dependencies you need to get Electron running

天大地大妈咪最大 提交于 2020-05-16 06:32:31
问题 After globally installing electron-forge with npm install -g electron-forge any command I enter in the terminal related to electron-forge gives me the following message: It seems like it's missing some dependencies you need to run Electron. Make sure you have git and Node.js version 6.0.0+ installed I don't know why it tells me that it is missing git and Node which both installed both locally and globally versions 0.1.5 and 14.0.0 respectively. 回答1: git 0.1.5 is a partial implementation of

Two Way Data Binding Angular 2 in Electron not working

倾然丶 夕夏残阳落幕 提交于 2019-12-11 07:11:42
问题 I used electron-forge to create a new electron project that uses angular 2 npm install -g electron-forge electron-forge init -t angular2 Then I added @angular/forms yarn add @angular/forms Then I edited the app.components.ts file to look like this import { NgModule } from '@angular/core'; import {FormsModule} from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { Component, OnInit } from '@angular/core'; @Component({ selector: 'App', template: `<div> <h2