-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron crash on Windows on v5.0.0 #67
Comments
The output from above doesn't say much unfortunately. To debug:
|
hey, thanks for the quick response. please find complete log. Am using "electron-builder": "^22.9.1", 0 info it worked if it ends with ok |
I’m having the exact same problem no matter if I’m using electron by itself or electron forge on Windows. It runs fine when there is no pragma key but crashes if I try to create an encrypted database. I’m running the example from the readme. Node 12.18.3 |
#70 should fix this issue. For future reference on debugging a crash like this, this is a good guide: https://felixrieseberg.com/debugging-electron-apps-on-windows/ In my case, crash reports were not created automatically. What did help is enabling electron's // In main process
const { crashReporter, app } = require('electron');
crashReporter.start({submitURL: ''});
console.log('Crash reports will be logged to:', app.getPath('crashDumps')); |
Fix released in v5.1.0. |
Thanks, @rkistner for the solution. Now works fine on windows 💪 |
"electron": "^11.1.0",
"@journeyapps/sqlcipher": "^5.0.0",
node version: 12.20.0
npm version: 6.14.8
error:
npm ERR! code ELIFECYCLE
npm ERR! errno 3228369023
npm ERR! [email protected] ele:
electron .
npm ERR! Exit status 3228369023
npm ERR!
npm ERR! Failed at the [email protected] ele script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-01-27T13_27_23_388Z-debug.log
The electron exe is closing if I run db.run("PRAGMA key ='mySecret'");
Could you please help on this.
The text was updated successfully, but these errors were encountered: