Skip to main content

All Questions

-4 votes
0 answers
49 views

Bug in finding image in electron with sqlite [closed]

So, my problem is that my app can't find my image, and on my sqlite database there's just a txt file that says undefined: This function goes immidietely after entering the app ipcMain.on('load-...
Tervix's user avatar
  • 1
0 votes
0 answers
43 views

Creating SQLite db at runtime without user intervention

I want to create an app (maybe via Electron) which will create an SQLite database file on the users device. I can code the actual creation of the database file and tables in the app no problem, it's ...
user2793489's user avatar
0 votes
0 answers
199 views

Next.js API not working in production mode

I am building a electron app using next.js so that I have used Nextron framework for that. THe issue I am facing is the API that I have created inside the next.js app are working perfectly in the ...
Swapnil Mane's user avatar
0 votes
1 answer
36 views

In nodejs/sqlite3, run's first callback parameter return the class instance, how can i fix it?

I've got the following class in TypeScript: class Log { public id: number; public text: string; construct(text: string){ this.text = text; } save(){ db.run( ...
Xiaodong Liu's user avatar
0 votes
0 answers
32 views

SQLite3 and NodeJS / Electron : Asynchronism issue

I am working on an Electron app which uses a SQLite database. It works fine, except one thing I have been struggling with since the beginning : if the local database doesn't exist, the program creates ...
Dowymn's user avatar
  • 1
1 vote
0 answers
71 views

Unable to load image from url fetched from sqlite database

I have a Web app(Electron.Js) using HTML,CSS & Javascript, where in I am saving an image url and background color as chosen by user to Sqlite database using : const reader = new FileReader(); ...
V M's user avatar
  • 111
0 votes
0 answers
99 views

electron-builder always show blank page html but after i reload the app with "win + r" button the actuall page show

when i build my app using electron-builder, the built success. but there is a problem. After i install the .exe file, the app running, but only shows blank page, i checked the devtools, it's just the ...
fey_23's user avatar
  • 41
0 votes
0 answers
61 views

TypeOrm One-to-Many/Many-to-One Javascript

I have a Week entity that I would like to save with a one-to-many relationship with the Day entity. Week Entity new EntitySchema({ name: 'Week', target: Week, columns: { id: { type: '...
OGP99's user avatar
  • 159
1 vote
0 answers
92 views

Error retrieving users: TypeError: Cannot read properties of undefined (reading 'getUsers')

dbmng.js for connection to database: const sqlite3 = require('sqlite3').verbose(); const db = new sqlite3.Database('ticketDb.db'); async function getUsers(){ return new Promise((resolve, reject) =&...
rorot_23'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
1 vote
0 answers
243 views

"Please install the sqlite3 package manually on startup." -error on executable startup

I'm using Electron Forge with SQLite3. In development, everything works fine (rebuilding and then starting the app, since SQLite needs to be recompiled). electron-rebuild -f -w sqlite3 electron-forge ...
sm9ke's user avatar
  • 11
0 votes
0 answers
2k views

Error: SQLITE_CANTOPEN: unable to open database file with electron-forge packed app

I'm using a sqlite database called sqlite.db in my app. The database is located in the top directory of my app. I test the app with npm start while developing. While testing, the database works fine. ...
maxischl's user avatar
  • 601
0 votes
1 answer
327 views

Electron await sqlite3 response

I have a sqlite3 database request in my main.js, that is triggered by button click in renderer.js. The request reaches my main.js. However, I cannot manage to await the results from the database. The ...
maxischl's user avatar
  • 601
0 votes
1 answer
1k views

How to upgrade my electron version from 6 to 9 to avoid errors

I would like to upgrade my electron version from 6 a stable version to 9 because of a problem with my api I have tryied npm fund and npm audit but it doesn't correct the problem may be someone have an ...
Esdras Zongo's user avatar
1 vote
0 answers
218 views

Updating the sqlite database that is in the project folder

I want to insert a new value and overwrite my SQLite database using this ipc function (electron). Whenever I try to add just one entry to the table, it saves it, but as soon as I close the application ...
ross_geller_pivot's user avatar

15 30 50 per page
1
2 3 4 5