Skip to content

bug:maximum call stack size exceeded #26

@sid1006

Description

@sid1006

I experienced an error (maximum call stack size exceeded ) while trying to access the database using SQL-cipher to open an electron js(version:13.4.0) app. The main.js is given below

const electron= require('electron');
const url= require('url');
const path= require('path');
var sqlite = require('sqlite-cipher'); //requiring

const{
app,BrowserWindow
}=electron;
app.on('ready',()=>{

//Connecting - (databaseFile, [password], [algorithm])
 sqlite.connect('sample','password','aes-256-ctr');



new_window= new BrowserWindow({});
preload:path.join(__dirname,'preload.js')
new_window.loadURL(url.format({
pathname:path.join(__dirname,'/dist/index.html'),
protocol:'file',slashes:true
}));

});

Screenshot (95)_LI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions