articlesfalo.blogg.se

Electron npm
Electron npm




electron npm

Var db = new sqlite3.Database('mydb.db') ĭb. My.js file var sqlite3 = require('sqlite3').verbose() npm install for the Foo Bar app has been run at least once When one runs the following command for the first time in the foobar directory: npx electron-packager. MainWindow.loadUrl('file://' + _dirname + '/index.html') The electron module is in the devDependencies section of package.json, and set to the exact version of 1.4.15.

electron npm

Var BrowserWindow = require('browser-window') My development environment is windows 8.1 圆4 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'






Electron npm