Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
118 views

So, I'm trying to learn full stack by making a list app, and I'm using Sequelize.js for the database. So far I've got User and List models. I recently switched to Sequelize v7.0.0-alpha.47. I can't ...
MaxCodes's user avatar
  • 108
1 vote
1 answer
365 views

I've been trying to set-up a working Electron application using Electron Forge with Sqlite3 and Sequelize. This has worked great up until where I need to actually build and package, and distribute the ...
Scott Mckay's user avatar
-1 votes
1 answer
68 views

I created my capstone project frontend with Angular.js, and the backend with Node.js and Express. The database was created by sqlite3. I want to update the files in the GitHub repository and use ...
nadeeka dilrukshi rajapakshe's user avatar
3 votes
0 answers
110 views

I creted a basic Node.js app with WatermelonDB and LokiJSAdapter and is working fine but when I switched to SQLiteAdapter this error start appering. Any ideas hoe to fix that? Error: EBUSY: resource ...
tatqna's user avatar
  • 31
-1 votes
1 answer
73 views

I'm trying to set up a /roles command for my Discord bot. The goal is to have the bot post an embed with some automated self-reactions that correspond to self-assignable roles identified in the embed. ...
Jake Livsey's user avatar
-2 votes
2 answers
96 views

I need to make a query to return an entire row on the condition of a substring search. This search must match a column called 'movies' and it is a JSON Object within it, inside this object is an array ...
Peter Griffin's user avatar
1 vote
0 answers
24 views

db.serialize(()=>{ const rightjoinpromise=new Promise((resolve,reject)=>{ db.all( 'select temp_data.colour,temp_data.size,temp_data.price,temp_data.quantity,temp_data....
Tanishq Garg's user avatar
0 votes
0 answers
175 views

I have a need, for example, to return information about whether the user is blocked, obtained from the database, to the main code. I created a class called Db: export class Db { constructor() { ...
Vanchugov Artemy's user avatar
0 votes
0 answers
12 views

I started learning js relatively recently. I have a function that should return the search result from the SQlite3 table. but because of the asynchrony, it outputs the result before it has found any ...
Lotti's user avatar
  • 1
0 votes
0 answers
52 views

So I want to put out a WHERE query for this 'code' (row.code) and recieve the row.title from there. With the row.title I want to use js to replace the 'title.placeholder' text with 'row.title'. For eg....
T1m's user avatar
  • 1
0 votes
1 answer
2k views

in my project I need a Dockerfile for sqlite3 because I am using microservices with Kubernetes and Docker and on Windows and MacOS it gave me the same error when installing. the project uses nodejs ...
dalthonmh's user avatar
  • 605
0 votes
1 answer
123 views

this is db.js const sqlite3 = require('sqlite3').verbose(); const path = require('path') const { migrationScript } = require('../db/migrations/migrate'); const WDIR = process.cwd(); const DB_PATH = ...
Daniel Rosenberg's user avatar
-3 votes
1 answer
334 views

I have some working code to manipulate a Sqlite database written in this notation (I think ES5?): try { const cols = Object.keys(data).join(", "); const placeholders = Object.keys(...
user2066480's user avatar
  • 1,425
0 votes
1 answer
133 views

When querying a DB in TS using node-sqlite3 the query happens after everything else. The docs haven't yielded any answers, though there may be something glaringly obvious that I've missed. I've ...
Logan Tanner's user avatar
0 votes
0 answers
415 views

I am currently using a node.js for the first time trying to use it to SELECT in an sqlite3 database code it connects to the database and even makes an array with 9 results which is the number of ...
ICantDoThis's user avatar
1 vote
1 answer
781 views

Note that i’m using NodeJS v16.16.0 When utilizing nexe to compile my file, everything works as expected until I attempt to change the file location at that point, the program ceases to function. ...
NerdGuy350's user avatar
0 votes
1 answer
105 views

I am trying to create a table with an item inserted into it upon executing the following script using the node command. However, for some reason my code is inserting the item into the table before the ...
bascott's user avatar
  • 167
1 vote
0 answers
61 views

I noticed that 99% of the space in my app.asar comes from node-modules, digging around I found 2 modules sqlite3 and serialport that are the reason for the big size. As example, sqlite3 takes 74Mb, I ...
Colas's user avatar
  • 187
2 votes
0 answers
43 views

I want to build a simple e-commerce site where each product is unique (each has exactly one quantity; all are stored as a separate integer) using ExpressJS and SQLite3. My problem is with writing a ...
Mienislav's user avatar
0 votes
1 answer
775 views

Edit I've been bamboozled with regards to the sequelize part. The person responsible by connecting the gateway was pointing to an old endpoint and the answer was returning wrong as a result. I was ...
lsimonetii's user avatar
0 votes
1 answer
49 views

I am learning sqlite3 in Node.js and having problem with following code var sqlite3 = require('sqlite3').verbose(); var db = new sqlite3.Database('first.db'); console.log("in the program"); ...
dudung's user avatar
  • 799
0 votes
1 answer
48 views

I would like to come and ask for help for an error that is making me mad. The famous "Sqlite3 module not found" I have sqlite3 in my json dependencies. It is installed in node modules. and I ...
Soulaimane Aflou's user avatar
0 votes
1 answer
144 views

It seems that the question has been answered here, however, I do not know how to make it work as I am still new to JavaScript. I have tried to use Node.js with DuckDB and Sqlite3. Both could not not ...
yoonghm's user avatar
  • 4,735
0 votes
2 answers
60 views

I have made a database in SQLite, and a Table. Schema is like this: CREATE TABLE Students ( StudentID INTEGER PRIMARY KEY, FirstName TEXT NOT NULL, LastName TEXT NOT NULL, Gender TEXT ...
Ashish Sharma's user avatar
0 votes
1 answer
64 views

#user_input.py from flask import Flask, request, jsonify import sqlite3 app = Flask(__name__) def process_user_input(data): # Retrieve user input from the data stock_name = data.get('...
Steven's user avatar
  • 25.5k
-1 votes
2 answers
2k views

Im trying to run a react project. I cloned the git repo and ran the command npm install this installed all the dependencies except sqlite3, so i tried to install sqlite3 manually by running the ...
Yash Kumar's user avatar
0 votes
0 answers
107 views

Currently I'm learning to build electron app , I'm just trying to figure out if IPC Communication is the right way to access local SQLLITE db from front end and make it act like a API , or is there ...
user avatar
1 vote
0 answers
77 views

I'm downscaling images within a separate worker thread using the sharp library. The code snippet goes like this: async function create_preview(path) { return lib.sharp(path) .resize({ width: ...
user81993's user avatar
  • 6,723
1 vote
1 answer
2k views

I have a simple sqlite SELECT query as follow, db.js const dbFile = path.resolve(__dirname, ../disk.db); const dbExists = fs.existsSync(dbFile); if (!dbExists) { console.log("database file ...
micronyks's user avatar
  • 55.7k
0 votes
1 answer
293 views

I am trying to insert a list of exercises into sqlite DB. The app is on express JS and I am using sqlite3 and knex to interact with the DB. I am trying to add a list of exercises into the table ...
KhanAJ's user avatar
  • 31
1 vote
0 answers
49 views

My node application is currently running in node version 8.3. I am getting above error of missing \node-v83-win32-x64\node_sqlite3.node' module in node_modules. When i try to install the same by ...
Sameer's user avatar
  • 11
0 votes
2 answers
64 views

As said in the title, I'm writing a aplication in Node.Js and I need it to return a JSON (or at least console.log() the data, I can figure out the rest) I it seems like the URL doesn't exist BACKEND ...
Julian.gxnzalez's user avatar
0 votes
1 answer
1k views

I have a sqlLite db file that is reside in S3 bucket. I am trying to read the information (mainly read) from the tables to be transform to json. I saw the nodejs with sqlite3 but somehow I can see to ...
RainbowSong's user avatar
2 votes
0 answers
66 views

I'm trying to use the sqlite3 package to perform a full text search of an SQLite database. To do this, I have made the following function: const searchDb = (query, column, callback) => { const ...
Nick's user avatar
  • 103
0 votes
1 answer
384 views

I am writing middleware to return database queries using SQLite3 and Next.js. Here is a snippet of code that I wrote to return the contents of a DB table. It appears to work, and my checks of sources ...
chrisroode's user avatar
1 vote
2 answers
480 views

I am having an issue executing an SQL statement immediately after creating and populating a table. I think the record does not exist, because the creation query does not finish in time. If I pass ...
Mr. Polywhirl's user avatar
2 votes
1 answer
753 views

My node application works on my local(MacOS), but it does not work if I use docker. it works if I try local: npm install npm start It throws error if I try docker docker-compose build docker-compose ...
user avatar
0 votes
0 answers
414 views

I facing this below error while running my nodejs-16 application using docker. I started facing this issue after I update my node from v14 to v16. I googled but couldn't understand. Can someone throw ...
Kranthi's user avatar
  • 1,417
2 votes
0 answers
242 views

In my React web app I want to read from local sqlite db file. From what I understand it can be done via sqlite3 service package. After installing npm install sqlite3 and executing the following code I'...
Eric's user avatar
  • 1,855
1 vote
0 answers
782 views

I'm trying to install sqlite3 in order to develop an express.js backend with sequelize. My operating system is Ubuntu 22.04. My Node version is 18.13.0, npm version 9.3.1. My current situation is: >...
Haem's user avatar
  • 1,063
0 votes
1 answer
252 views

I am trying to deploy a web application. I have it up and running on my computer, but when I try to deploy it using render.com or Cyclic, I get the following error: SQLITE_CANTOPEN: unable to open ...
Dario's user avatar
  • 1
1 vote
1 answer
458 views

Hello I am getting an error in my EJS response file I am trying to display my form data that makes a request to my database on the server side and I am getting this error here is the Form Code and ...
swift gaming's user avatar
0 votes
1 answer
2k views

I want to iterate through my sqlite database synchronously. Using async and sleep in db.each() does not delay the each callback since it does not use await on the callback internally: var sleep = ...
John's user avatar
  • 6,337
2 votes
0 answers
28 views

I try to Insert query into sqlite database. But the function Does not work correctly. const sqlite3 = require('sqlite3'); const { open } = require('sqlite'); async function main() { try { ...
ajith ajith's user avatar
1 vote
1 answer
1k views

How can i create the following composite primary key (using sqlite) with sequelize-typescript? CREATE TABLE files( `hash` VARCHAR(255) NOT NULL UNIQUE, `filePath` VARCHAR(255) NOT NULL UNIQUE, ...
spaxxUnited's user avatar
1 vote
1 answer
420 views

I'm using multiple processes to write and read to an sqlite DB and am running into a busy error:Error: SQLITE_BUSY: database is locked. Then I try to set the enableWAL parameter to true and the ...
sinkhaha's user avatar
0 votes
1 answer
549 views

Status of sqlite3 installation on my Raspberry Pi 4 B when queried from the terminal: pi@raspberrypi:~ $ sqlite3 --version 3.27.2 2019-02-25 16:06:06 ...
Mainland's user avatar
  • 4,702
1 vote
1 answer
1k views

My problem mainly is performance related, I have this code running on the main ElectronJS proccess : ipcMain.handle('add_product', async (event, args)=>{ return new Promise((resolve, reject)=...
Spetsz_'s user avatar
  • 21
-2 votes
1 answer
171 views

I'm currently developing for an embedded system. It already has sqlite3 pre-installed: root@xxx-imx6-r1:/# sqlite3 -version 3.38.5 2022-05-06 15:25:27 ...
André Fiedler's user avatar
0 votes
0 answers
173 views

I have OPENAPI, which are build with Swagger. GET und POST methods works finei. but not DELETE. index.ts ` app.use("/deleteProduct/{id}", deleteProduct); delete.ts import { Router } from &...
batr_jul's user avatar

1
2 3 4 5 6