electron-userland / electron-userland/electron-webpack
sqlite not being installed
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**: "electron-builder": "^22.4.1",
* **Target**: Linux, OSX, Windows
Hi there,
I am trying to use pack sqlite and use it in the renderer process, but get the following error in the browser.
```
DriverPackageNotInstalledError: SQLite package has not been found installed. Try to install it: npm install sqlite3 --save
at new DriverPackageNotInstalledError (/home/stuart/dev/electron-svelte-typeorm-typescript/src/error/DriverPackageNotInstalledError.ts:8:9)
at SqliteDriver.loadDependencies (/home/stuart/dev/electron-svelte-typeorm-typescript/src/driver/sqlite/SqliteDriver.ts:128:19)
at new SqliteDriver (/home/stuart/dev/electron-svelte-typeorm-typescript/src/driver/sqlite/SqliteDriver.ts:46:14)
at DriverFactory.create (/home/stuart/dev/electron-svelte-typeorm-typescript/src/driver/DriverFactory.ts:42:24)
at new Connection (/home/stuart/dev/electron-svelte-typeorm-typescript/src/connection/Connection.ts:127:43)
at ConnectionManager.create (/home/stuart/dev/electron-svelte-typeorm-typescript/src/connection/ConnectionManager.ts:64:28)
at /home/stuart/dev/electron-svelte-typeorm-typescript/src/index.ts:232:35
at step (/home/stuart/dev/electron-svelte-typeorm-typescript/node_modules/tslib/tslib.js:141:27)
at Object.next (/home/stuart/dev/electron-svelte-typeorm-typescript/node_modules/tslib/tslib.js:122:57)
at /home/stuart/dev/electron-svelte-typeorm-typescript/node_modules/tslib/tslib.js:115:75
```
An example of the repo can be found at https://github.com/eightfivelabs/electron-svelte-typeorm-typescript/tree/681e83d61acbab0a1959bc61830d24f7df1e8bca (at the specific commit linked).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.