Skip to content

Commit dc452b1

Browse files
fix binding: resolve sqlite3 binding
The app build was successful, but opening the build threw and binding error "Cannot find module 'bindings'" relating to sqlite3. To resolve this, I install [email protected] instead of the 5.1.7. This downgrade of sqlite3 fix the issue. see TryGhost/node-sqlite3#1748 (comment)
1 parent 282ce74 commit dc452b1

2 files changed

Lines changed: 452 additions & 730 deletions

File tree

‎package.json‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
{
2-
"name": "present",
2+
"name": "open-worship",
33
"version": "1.0.0",
44
"description": "An Electron application with React and TypeScript",
55
"main": "./out/main/index.js",
6-
"author": "example.com",
7-
"homepage": "https://electron-vite.org",
6+
"author": "Micah Effiong <micaiah.effiong@gmail.com>",
7+
"homepage": "",
88
"scripts": {
99
"format": "prettier --write .",
1010
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
1111
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
12-
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
13-
"typecheck": "npm run typecheck:node && npm run typecheck:web",
12+
"typecheck:web-primary": "tsc --noEmit -p tsconfig.web.primary.json --composite false",
13+
"typecheck:web-secondary": "tsc --noEmit -p tsconfig.web.secondary.json --composite false",
14+
"typecheck": "pnpm typecheck:node && pnpm typecheck:web-secondary && pnpm typecheck:web-primary",
1415
"start": "electron-vite preview",
1516
"dev": "electron-vite dev",
1617
"build": "npm run typecheck && electron-vite build",
@@ -25,7 +26,7 @@
2526
"@electron-toolkit/utils": "^3.0.0",
2627
"clsx": "^2.1.1",
2728
"electron-updater": "^6.1.7",
28-
"sqlite3": "^5.1.7"
29+
"sqlite3": "5.1.6"
2930
},
3031
"devDependencies": {
3132
"@electron-toolkit/eslint-config-prettier": "^2.0.0",

0 commit comments

Comments
 (0)