electron-forge Questions

3

Solved

I am using electron forge with typescript integration. I can't find a solution to drag and drop files from explorer and get their full paths I put in index.ts the following: import {app, BrowserWin...
Sheryl asked 23/6, 2021 at 17:5

1

I'm building an Electron app using Electron Forge and I need to pass environment variables to the final executable. I've tried defining the environment variables in forge.config.js like this: env: ...
Deliladelilah asked 4/5, 2023 at 21:10

4

electron-forge make results in Error: Could not find any make targets configured for the "win32" platform. with command: PS E:\VStudio\20210417> npm run make2 > [email protect...
Wenz asked 17/4, 2021 at 18:56

2

Electron app was initialized using electron-forge webpack template and everything works perfectly for macOs. While running the dev version using electron-forge start the app loads perfectly on wind...
Alphonsa asked 23/2, 2020 at 14:39

2

Solved

I'm building an Electron JS app using Electron Forge and Vite, and I'd like to display a second window in the application, but it isn't displaying properly. When I run npm run start the second wind...
Brander asked 24/5, 2023 at 2:16

1

Solved

I'm trying to get react to work with electron and even though i followed the instructions from this site: https://dev.to/mandiwise/electron-apps-made-easy-with-create-react-app-and-electron-forge-5...
Teenybopper asked 7/5, 2021 at 1:58

5

I can't find reference about this anywhere in their website/docs. I need to change this to another port, currently it's stuck in 3000. Here's how I create an electron project with electron-forge ...

2

Solved

I created an Electron forge project as described in the forge guide using the "typescript + webpack" template: yarn create electron-app debugging-test --template=typescript-webpack And a...
Felony asked 19/4, 2022 at 9:33

2

Solved

I'm currently building a cross platform app with electron(-forge) for mac, linux and windows. I'm on mac and with npm run make the app gets packaged and built for mac. Is there any way (flag in bui...
Townspeople asked 6/4, 2021 at 6:1

3

Solved

I started learning on the electron by using the GitHub on demand training. When I executed the below command. The system throws the error. electron % electron-forge init electron-app ⚠ Could not c...
Hypodermic asked 25/10, 2018 at 5:29

3

Hi Electron Enthusiasts! How do I package an electron app for "darwin-x64" on an Mac M1/Apple Silicone (arm64)? It is definitely possible, since a month ago I had an MacBookPro with M1 ch...
Cataplasia asked 7/2, 2022 at 20:36

6

I have created and electron application and trying to use electron forge for building purpose. Please find below command which i have run it for creating the electron application: #npm i -g create...

3

Solved

I am using electron forge for building and packaging my electron app. How can I code sign my app (using electron forge) for windows and mac? Electrong-forge: https://github.com/electron-userland/...
Chilton asked 29/9, 2017 at 2:1

3

Solved

I installed Electron's template following Electron Forge page. npx create-electron-app my-new-app --template=typescript-webpack After that, I run npm run start insides my-new-app folder and the f...
Physics asked 27/10, 2022 at 3:59

1

Solved

I created a template with npx create-electron-app my-new-app --template=typescript-webpack (from https://www.electronforge.io/templates/typescript-+-webpack-template). I adapted the package.json li...
Pontianak asked 29/10, 2022 at 7:55

0

I am using electron forge to create the dmg file from my electron app. I am using @electron-forge/maker-dmg to make the dmg. My customers complain that the dmg cannot be used in their Intel machine...
Ilium asked 29/9, 2022 at 12:53

4

Solved

I trying to build an electron with an exe installer on macOS with a MacBook Pro with an m1. I already tried different packages like electron-packager, electron-forge, but unfortunately, none of my ...

1

I have a file that I need to make my application work. I am able to use the file in development by specifying fixed path var path = process.cwd() + '/src/app/components/task/Scripts'; and the fil...

0

The @vercel/webpack-asset-relocator-loader works in some modules, and does not work in some. In cases that it doesn't work, I have to use the externals config as stated in the electron-forge docs h...
Neckpiece asked 13/4, 2022 at 9:21

4

Solved

I just created a new application using the following command: npx create-electron-app my-new-app --template=typescript-webpack Inside the renderer.ts I added the following code import "./index....
Terri asked 19/6, 2020 at 9:18

1

How to use esm with electron 16? When I make the type in package.json to module, the script electron . doesnt work well. { "name": "electronapp", "version": "1....
Reedbuck asked 25/12, 2021 at 8:13

2

I'm having a problem with electron-forge, which I imagine is a common problem, but I can't seem to find the answer. I have created a new project with npx create-electron-app and I have installed an...
Lurid asked 19/8, 2021 at 13:48

0

I have an electron forge project using typescript with some default settings. I added a custom types.d.ts under src/types.d.ts looking like this: declare module 'mymodule' { export namespace Types...
Boulevardier asked 19/8, 2021 at 9:52

3

Solved

Using electron-forge to build a desktop app. The app is built for both OSX & Windows. Inside my package.json, I have: "electronPackagerConfig": { "icon": "src/images/icon/app_icon_osx.icns" ...
Fineable asked 14/2, 2018 at 14:50

2

Solved

Is there any simple way I can setup an app with Electron-Forge and React? I am usin the webpack template but don't know what to do to get jsx to work. I have the react stuff in renderer.js
Woodsman asked 20/6, 2020 at 17:57

© 2022 - 2024 — McMap. All rights reserved.