a2k
a2k
> Where and how exactly? Models by default are created in the database using the exact same spelling used in the Prisma schema. Yes true but every Prisma docs show...
Is v6 stable yet? Or usable?
@nickvoosten Weird, it worked for me albeit I’m using `better-sqlite3` → https://github.com/electron-userland/electron-forge/issues/1224#issuecomment-606649565 Regarding your 2nd question, I think all calculations should be made in the “background process”. I just read...
@cyril-barragan that means you have used the wrong version of Node. I use v10.15.1 of Node to compile & I use https://github.com/Schniz/fnm to switch Node versions. You have to compile...
Did you use `electron-rebuild` to build it? Follow [this guide](https://github.com/JoshuaWise/better-sqlite3/issues/126#issuecomment-403943522). Also, check out that issue completely. I found my solution from there
@cyril-barragan In case you ever give `electron-forge` a shot again, then check [this out](https://github.com/electron-userland/electron-forge/issues/1224#issuecomment-606649565) I found a working solution with `electron-forge` & `better-sqlite3` & correct bindings are used :)
I forgot to mention I also added [Global Variables in Project Setup](https://www.electronforge.io/config/plugins/webpack#project-setup) as stated like: ```js const mainWindow = new BrowserWindow({ webPreferences: { preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY, } }); ``` But I...
I tried doing it like https://github.com/electron-userland/electron-forge/issues/1606 by mentioning it in `forge.config.js` in `package.json`: ```ts { "mainConfig": "./webpack.main.config.js", "renderer": { "config": "./webpack.renderer.config.js", "entryPoints": [ { "html": "./src/index.html", "js": "./src/renderer.tsx", "name": "main_window",...
I made a minimal repro for it https://github.com/deadcoder0904/webview-forge-production-error I am pretty sure the error is somewhere in this file maybe at https://github.com/electron-userland/electron-forge/blob/master/packages/plugin/webpack/src/WebpackConfig.ts#L58 If anyone can point me in the right-direction...
@aabuelenin I don't think so otherwise I would've posted an answer :)