All Questions
544
questions
0
votes
0
answers
44
views
Error "@serialport ... is not Win32 application" when using electron-builder
I have an app that should read serial input from a external scale and for that I made an electron app.
I tried searching for fix, but I could not find one suited for my needs or they don't work...
I ...
0
votes
0
answers
41
views
"Failed to load resource: net::ERR_FILE_NOT_FOUND" Electron
Resource of CalHeatmap not found when testing app in Electron. I check on my vscode that clicked new CalHeatmap(); will jump into the source file, so it should be work, but when try to npm start the ...
0
votes
1
answer
115
views
Installing Electron on Ubuntu
so i wanted to learn a bit of electron frontend development and worked myself through the installation guide on the electron site.
Everything works well, until the npm install electron --save-dev ...
1
vote
0
answers
43
views
App threw an error during loadReferenceError: __dirname is not defined in ES module scope
I'm trying to build desktop app using Electron JS + React JS + Vite by using command (npm i electron-vite@latest)
It works fine, now there is a need to communicate to serialport, so installed (npm i ...
0
votes
1
answer
62
views
How to ignore compile errors in Typescript/Electron for unreachable code
I'm rather new in Typescript/Electron and try to make a text based game.
I started from the equivalent of a hello world electron application and start implementing some core logic with classes/...
0
votes
1
answer
31
views
when using npm only this sign is showing ⠧
when using npm only this sign is showing** ⠧ **and loads forever and always getting errors when cancelling
even though I have the latest node and npm, I tried to uninstall and reinstall node and npm ...
0
votes
0
answers
40
views
Why the command "npm start" doesn't work on my Electron framework project?
I've made a simple notes app using HTML, CSS and Javascript, and now i want to turn it into a desktop application, i'm using the Electron framework to achieve it, but for some reason i can't launch ...
0
votes
0
answers
127
views
Why my terminal got stuck when I try to install ElectronJS from npm
I tried to install electron.js following a decent tutorial. But somehow, I couldn't install the library at all. It's just stuck on the last line for hours. Here are my terminal activities:
PS E:\study\...
0
votes
0
answers
87
views
Encountering ECONNRESET when building eclipse theia
I am new to eclipse theia and somewhat new to nodejs. I had several issues leading up to this one but I was able to resolve them. Most were proxy (i'm behind a corporate firewall) issues but again ...
0
votes
0
answers
234
views
Error executing 'npm run dist': npm ERR! code 1 with electron-builder - Problem with canvas dependencies
Here is the complete cmd output when runnning npm run dist:
[email protected] dist
> electron-builder
• electron-builder version=24.13.3 os=10.0.22631
• loaded configuration file=...
0
votes
1
answer
85
views
nodejs fs.rm(path, { recursive: true, force: true }) throws "ENOTEMPTY: directory not empty"
import { existsSync } from "fs";
import fs from "fs/promises";
export async function makeFolder(path: string) {
if (existsSync(path)) {
try {
await fs.rm(path, { recursive: true, ...
0
votes
1
answer
143
views
Is there a reason why installing any package using npm would keep giving the same error?
I have been trying to install electron for my react app but it kept on giving me this error
npm ERR! code 1
npm ERR! path C:\Users\addis\Desktop\Nigerian-navy-publications\nigerian-navy-publications\...
0
votes
1
answer
583
views
How to change the behavior of an Electron app via external JavaScript file?
This is the project structure I would like to have.
kareljs folder is an Electron app and if I run
npm start
inside that folder, a window pop up and run method of karel.js is executed when the button ...
0
votes
0
answers
26
views
Flask Electron HTML
I am currently working on a project using Flask as backend and a HTML file as frontend. Trying to use electron for turning it into an exe, I faced some difficulties: I need to run my Flask with the ...
0
votes
0
answers
188
views
Electron Builder issue
electron builder - 23.6.1
node-14.15.0
Hi,
I am trying to create exe (using electron.net) i was unable to do so. i Get the below error when trying the build the exe :
/build error when building the ...