Skip to main content

All Questions

Tagged with
0 votes
0 answers
35 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 ...
Kevin's user avatar
  • 13
0 votes
0 answers
103 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\...
Piyal Hossein's user avatar
0 votes
1 answer
55 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, ...
Andrei Ranta's user avatar
0 votes
1 answer
557 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 ...
Pyi Soe's user avatar
  • 11
0 votes
0 answers
74 views

How to use an unpackaged node module in Electron packaged build (trash npm)

I have an Electron app, and I'm using the trash npm module. In my code, the only way that I can import the package is like so: let trash; import('trash').then((trashModule) => { trash = trashModule....
Jonah Grimm's user avatar
0 votes
0 answers
160 views

How to uninstall Electron app from electron app

I develop an ElectronJs App, and I need a function that will completely uninstall the application when it is packed. How can I do that? I already tried with child_process and rimraf but nothing ...
mincozz's user avatar
-1 votes
1 answer
237 views

TypeError: Cannot read properties of undefined (reading 'whenReady')

I am trying to create my first electron app. When calling npm start from the terminal, I get this error: TypeError: Cannot read properties of undefined (reading 'whenReady')... at ModuleJob.run (node:...
j_falcon's user avatar
0 votes
1 answer
333 views

Electron Builder : Please specify author 'email' in the application package.json

While Generating Build Via Electron builder I am facing Following Error. ⨯ Please specify author 'email' in the application package.json I also tried to add email field into package.json file.
Nisarg Jani's user avatar
0 votes
1 answer
493 views

Problems installing electron js

I am trying to install electronjs in node 18 lts and npm 10. But i get this error doing it. PS C:\Users\Administrator.GWNR71517\Desktop\electron> npm install electron --save-dev npm ERR! code 1 npm ...
Sean Reyes's user avatar
0 votes
0 answers
67 views

Electron npm package installtion failing on Linux OS

I am trying to install electron npm package on Linux OS server with below command but it is failing npm install electron Error as below : # npm install electron npm ERR! code 1 npm ERR! path /home/...
Lucky's user avatar
  • 369
0 votes
1 answer
107 views

Extract Input field filled data from Electron BrowserView

For example, here is a simple BrowserWindow with appropriate security settings except for webviewTag: true which is necessary for this project. let webPrefs = { plugins: false, nodeIntegration:...
klados's user avatar
  • 757
0 votes
1 answer
352 views

How to securely make an SQL call using electron.js

I am developing a system that requires me to query an SQL database, it is located on the local network but NOT on the same system (not SQLExpress.) I have managed to query a user for input on the ...
addyHyena's user avatar
1 vote
0 answers
138 views

pnpm add sqlite3 Unknown options: 'runtime', 'target', 'dist-url'?

This is normal: npm install sqlite3 --runtime=electron --target=24.2.0 --dist-url=https://electronjs.org/headers This is wrong: pnpm add sqlite3 --runtime=electron --target=24.2.0 --dist-url=https://...
Aooiu's user avatar
  • 79
2 votes
1 answer
1k views

I can't include the RobotJS module in my ElectronJS project

I am developing a desktop application for Windows using ElectronJS. I want to include the RobotJS module in my project, but I can't seem to figure out how to do it. I successfully downloaded the ...
olcaykuytak's user avatar
0 votes
1 answer
103 views

How can i fix Electron start

How can i fix it? Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v6.0-win32-x64-unknown Found: [node-v57-win32-x64-unknown, ...
voids Mark's user avatar

15 30 50 per page
1
2 3 4 5
12