



My.js file var sqlite3 = require('sqlite3').verbose() MainWindow.loadUrl('file://' + _dirname + '/index.html') Var BrowserWindow = require('browser-window') (Note: You can also work with SQLite without Node or NPM.
#NODE SQLITE3 HOW TO#
Let's go through an example in which we do just that create a database, users table, and a few users. In this tutorial, I am going to explain how to use SQLite with NodeJS. My development environment is windows 8.1 圆4 If you're able to run Node on your machine and install packages via NPM, then you can very easily create and manipulate a SQLite database. Code Issues 116 Pull requests 18 Actions Wiki Security 2 Insights Releases Tags Mar 14 github-actions v5.1.6 8598a9d Compare v5.1. found this command at: github issue at node-sqlite3 repository. Cannot find module E:CSV-CONVERTORnodemodulessqlite3libbindingnapi-v6-win32-圆4nodesqlite3.node now I have tried so many solutions iam attaching the solution I have tried below. I used the path: /usr/bin/python3.8 and worked as well. Remember to put the desired python version, don't forget that python3 is the best choice nowadays. I want to develop desktop app using electron that uses sqlite3 package installed via npm with the command npm install -save sqlite3īut it gives the following error in electron browser console Uncaught Error: Cannot find module 'E:\allcode\eapp\node_modules\sqlite3\lib\binding\node-v45-win32-圆4\node_sqlite3.node' Pass the python path to the npm install proccess, that way the python will be found.
